diff --git a/js/ipc/JavaScriptParent.cpp b/js/ipc/JavaScriptParent.cpp index e90951f895ce..14b6f755a5dc 100644 --- a/js/ipc/JavaScriptParent.cpp +++ b/js/ipc/JavaScriptParent.cpp @@ -562,7 +562,7 @@ JavaScriptParent::unwrap(JSContext *cx, ObjectId objId) bool callable = !!(objId & OBJECT_IS_CALLABLE); - RootedObject global(cx, JS::DefaultObjectForContextOrNull(cx)); + RootedObject global(cx, js::DefaultObjectForContextOrNull(cx)); RootedValue v(cx, UndefinedValue()); JSObject *obj = NewProxyObject(cx,