mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
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:
parent
6ef0fe91ee
commit
c00b6ca42b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user