From 3bbc82eb80c9277a9a2dfb074858d9f09f95129a Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Fri, 13 Jan 2017 11:28:49 +1100 Subject: [PATCH] Bug 1329846 (follow-up) - Fix bustage. r=bustage. --- js/xpconnect/src/XPCWrappedNativeProto.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/xpconnect/src/XPCWrappedNativeProto.cpp b/js/xpconnect/src/XPCWrappedNativeProto.cpp index 68ebb8b9b5ed..f2167c097fc6 100644 --- a/js/xpconnect/src/XPCWrappedNativeProto.cpp +++ b/js/xpconnect/src/XPCWrappedNativeProto.cpp @@ -55,7 +55,7 @@ XPCWrappedNativeProto::Init(const XPCNativeScriptableCreateInfo* scriptableCreat { AutoJSContext cx; nsCOMPtr callback = scriptableCreateInfo - ? scriptableCreateInfo->GetCallback() : + ? scriptableCreateInfo->GetCallback() : nullptr; if (callback) mScriptable = callback;