Skip to content

Commit

Permalink
Bug 1288823, part 7 - Fix XPCNativeScriptableInfo ctor arguments. r=m…
Browse files Browse the repository at this point in the history
…rbkap
  • Loading branch information
amccreight committed Jul 25, 2016
1 parent 6ec149f commit 8de8a00
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions js/xpconnect/src/xpcprivate.h
Original file line number Diff line number Diff line change
Expand Up @@ -1586,9 +1586,8 @@ class XPCNativeScriptableInfo final
void AutoTrace(JSTracer* trc) {}

protected:
explicit XPCNativeScriptableInfo(nsIXPCScriptable* scriptable = nullptr,
XPCNativeScriptableShared* shared = nullptr)
: mCallback(scriptable), mShared(shared)
explicit XPCNativeScriptableInfo(nsIXPCScriptable* scriptable)
: mCallback(scriptable), mShared(nullptr)
{MOZ_COUNT_CTOR(XPCNativeScriptableInfo);}
public:
~XPCNativeScriptableInfo() {MOZ_COUNT_DTOR(XPCNativeScriptableInfo);}
Expand Down

0 comments on commit 8de8a00

Please sign in to comment.