Bug 1058644 follow-up: Mark ConsoleRunnable's constructor as explicit
authorEhsan Akhgari <ehsan@mozilla.com>
Tue, 06 Jan 2015 18:00:50 -0500
changeset 248123 e3e24120107b3250c993a4ccccfcd7fbb3132351
parent 248122 02f0874e51bf878951464223f889452326371a6d
child 248124 33781a3a5201c2371d5d31eeaaaeb5f34a3aaced
push id4489
push userraliiev@mozilla.com
push dateMon, 23 Feb 2015 15:17:55 +0000
treeherdermozilla-beta@fd7c3dc24146 [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()