Bug 1448016 - make some Android widget constructors explicit; r=snorp
Attempting to stand up the static analysis for Android builds revealed that we weren't being explicit enough.
This commit is contained in:
@@ -297,7 +297,7 @@ void DispatchToGeckoPriorityQueue(already_AddRefed<nsIRunnable> aCall)
|
||||
{
|
||||
nsCOMPtr<nsIRunnable> mCall;
|
||||
public:
|
||||
RunnableEvent(already_AddRefed<nsIRunnable> aCall) : mCall(aCall) {}
|
||||
explicit RunnableEvent(already_AddRefed<nsIRunnable> aCall) : mCall(aCall) {}
|
||||
void Run() override { NS_ENSURE_SUCCESS_VOID(mCall->Run()); }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user