Set means Define. When the method Define was removed, we didn't adjust Set to implictly Define. patch by ashishbhatt@netscape.com, r=khanson, r=dougt, b=169563

This commit is contained in:
dougt%netscape.com 2002-09-25 21:27:20 +00:00
parent 6ef0fe91ee
commit c00b6ca42b

View File

@ -114,8 +114,6 @@ NS_IMETHODIMP
nsProperties::Set(const char* prop, nsISupports* value)
{
nsCStringKey key(prop);
if (!Exists(&key))
return NS_ERROR_FAILURE;
nsISupports* prevValue = (nsISupports*)Put(&key, value);
NS_RELEASE(prevValue);