bug 477706 - fixing most VC 2005 warnings. r=gal,mrbkap

This commit is contained in:
Igor Bukanov
2009-02-26 09:49:39 +01:00
parent 773764fc14
commit 6c264808b3
7 changed files with 29 additions and 25 deletions

View File

@@ -368,7 +368,7 @@ js_CallGetter(JSContext* cx, JSObject* obj, JSScopeProperty* sprop)
{
JS_ASSERT(!SPROP_HAS_STUB_GETTER(sprop));
jsval v;
if (!SPROP_GET(cx, sprop, obj, obj, &v))
if (!js_GetSprop(cx, sprop, obj, &v))
return JSVAL_ERROR_COOKIE;
return v;
}