Bug 707564 followup. Update to new saner JSAPI, fixing merge bustage and ridding us of this pestilential CLOSED TREE. r=bustage

This commit is contained in:
Boris Zbarsky 2013-08-04 00:11:30 -04:00
parent 78a9c682d9
commit f94d41c09f

View File

@ -5392,7 +5392,7 @@ class CGEnumerateHook(CGAbstractBindingMethod):
"}\n"
"JS::Rooted<JS::Value> dummy(cx);\n"
"for (uint32_t i = 0; i < names.Length(); ++i) {\n"
" if (!JS_LookupUCProperty(cx, obj, names[i].get(), names[i].Length(), dummy.address())) {\n"
" if (!JS_LookupUCProperty(cx, obj, names[i].get(), names[i].Length(), &dummy)) {\n"
" return false;\n"
" }\n"
"}\n"