Backed out changeset ae8d72538dee (bug 897484) for b2g bustage

This commit is contained in:
Carsten "Tomcat" Book
2013-07-26 12:34:25 +02:00
parent 20ef75b4cd
commit beb4a5c20d
52 changed files with 180 additions and 185 deletions

View File

@@ -78,7 +78,7 @@ Environment(JSObject* global)
AutoSafeJSContext cx;
JSAutoCompartment ac(cx, global);
Rooted<Value> v(cx);
if (!JS_GetProperty(cx, global, "__XPCShellEnvironment", &v) ||
if (!JS_GetProperty(cx, global, "__XPCShellEnvironment", v.address()) ||
!v.get().isDouble())
{
return nullptr;