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:
Nathan Froyd
2018-03-27 10:51:32 -04:00
parent f2ba27ebae
commit c415bb3846
12 changed files with 32 additions and 32 deletions

View File

@@ -131,7 +131,7 @@ class AndroidUiTask : public LinkedListElement<AndroidUiTask> {
using TimeDuration = mozilla::TimeDuration;
public:
AndroidUiTask(already_AddRefed<nsIRunnable> aTask)
explicit AndroidUiTask(already_AddRefed<nsIRunnable> aTask)
: mTask(aTask)
, mRunTime() // Null timestamp representing no delay.
{}