Fixed incorrect method call.

Reviewed by me.
This commit is contained in:
Francisco Ryan Tolmasky I
2010-03-05 21:23:25 -08:00
parent 8727d96a06
commit 9441739839
+2 -2
View File
@@ -547,12 +547,12 @@ function CFURLGetResourcePropertiesForKeys(/*CFURL*/ aURL)
CFURL.prototype.resourcePropertyForKey = function(/*String*/ aKey)
{
return CFURLGetResourcePropertiesForKeys(this).objectForKey(aKey);
return CFURLGetResourcePropertiesForKeys(this).valueForKey(aKey);
}
CFURL.prototype.setResourcePropertyForKey = function(/*String*/ aKey, /*id*/ aValue)
{
CFURLGetResourcePropertiesForKeys(this).setObjectForKey(aKey, aValue);
CFURLGetResourcePropertiesForKeys(this).setValueForKey(aKey, aValue);
}
CFURL.prototype.staticResourceData = function()