Bug 1058644 follow-up: Mark ConsoleRunnable's constructor as explicit
authorEhsan Akhgari <ehsan@mozilla.com>
Tue, 06 Jan 2015 18:00:50 -0500
changeset 222297 e3e24120107b
parent 222296 02f0874e51bf
child 222298 33781a3a5201
push id28061
push userkwierso@gmail.com
push dateWed, 07 Jan 2015 03:24:49 +0000
treeherdermozilla-central@33781a3a5201 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1058644
milestone37.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 1058644 follow-up: Mark ConsoleRunnable's constructor as explicit Landed to fix a bustage on a CLOSED TREE
dom/base/Console.cpp
--- a/dom/base/Console.cpp
+++ b/dom/base/Console.cpp
@@ -238,17 +238,17 @@ public:
 
 private:
   JSContext* mCx;
 };
 
 class ConsoleRunnable : public nsRunnable
 {
 public:
-  ConsoleRunnable(Console* aConsole)
+  explicit ConsoleRunnable(Console* aConsole)
     : mWorkerPrivate(GetCurrentThreadWorkerPrivate())
     , mConsole(aConsole)
   {
     MOZ_ASSERT(mWorkerPrivate);
   }
 
   virtual
   ~ConsoleRunnable()