Bug 939608 - Fix a build problem
authorEhsan Akhgari <ehsan@mozilla.com>
Mon, 18 Nov 2013 00:52:53 -0500
changeset 156084 21df28ade757662e6ad8e5dabb02b5422f73372d
parent 156083 161bfee3f57a0a113e7078c23c9ac9c00f8509b6
child 156085 9820c500c65e90faa9f1a6f1aa8ef95848ca6ceb
push id25669
push userkwierso@gmail.com
push dateTue, 19 Nov 2013 02:31:16 +0000
treeherdermozilla-central@5236947f9090 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 939608 - Fix a build problem
--- a/js/xpconnect/src/XPCJSID.cpp
+++ b/js/xpconnect/src/XPCJSID.cpp
@@ -820,17 +820,17 @@ nsJSCID::Construct(nsIXPConnectWrappedNa
     RootedObject obj(cx, objArg);
     XPCJSRuntime* rt = nsXPConnect::GetRuntimeInstance();
     if (!rt)
         return NS_ERROR_FAILURE;
     // 'push' a call context and call on it
     RootedId name(cx, rt->GetStringID(XPCJSRuntime::IDX_CREATE_INSTANCE));
-    XPCCallContext ccx(JS_CALLER, cx, obj, js::NullPtr(), name, args.length(), args.array(),
+    XPCCallContext ccx(JS_CALLER, cx, obj, JS::NullPtr(), name, args.length(), args.array(),
     *_retval = XPCWrappedNative::CallMethod(ccx);
     return NS_OK;
 /* bool hasInstance (in nsIXPConnectWrappedNative wrapper, in JSContextPtr cx, in JSObjectPtr obj, in jsval val, out bool bp); */