Bug 1329846 (follow-up) - Fix bustage. r=bustage.
authorNicholas Nethercote <nnethercote@mozilla.com>
Fri, 13 Jan 2017 11:28:49 +1100
changeset 374221 a289c64e5ed498911b141187666b7f45f4a98738
parent 374220 b371ef382f1a65fc2699c741ca9b4833ce56b77d
child 374222 8cf18e375fdeb9d0e60fd31f9bd3a86b0a4e1a64
push id6996
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 20:48:21 +0000
treeherdermozilla-beta@d89512dab048 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1329846
milestone53.0a1
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 1329846 (follow-up) - Fix bustage. r=bustage.
js/xpconnect/src/XPCWrappedNativeProto.cpp
--- a/js/xpconnect/src/XPCWrappedNativeProto.cpp
+++ b/js/xpconnect/src/XPCWrappedNativeProto.cpp
@@ -50,17 +50,17 @@ XPCWrappedNativeProto::~XPCWrappedNative
 }
 
 bool
 XPCWrappedNativeProto::Init(const XPCNativeScriptableCreateInfo* scriptableCreateInfo,
                             bool callPostCreatePrototype)
 {
     AutoJSContext cx;
     nsCOMPtr<nsIXPCScriptable> callback = scriptableCreateInfo
-                                        ? scriptableCreateInfo->GetCallback() :
+                                        ? scriptableCreateInfo->GetCallback()
                                         : nullptr;
     if (callback)
         mScriptable = callback;
 
     const js::Class* jsclazz =
         (mScriptable && mScriptable->AllowPropModsToPrototype())
         ? &XPC_WN_ModsAllowed_Proto_JSClass
         : &XPC_WN_NoMods_Proto_JSClass;