Bug 1161946 - patch 3 - explicit CTOR for NotifyRunnable CLOSED TREE
authorAndrea Marchesini <amarchesini@mozilla.com>
Mon, 11 May 2015 15:25:28 +0100
changeset 243370 68d13dd7ae733389a41d0276a3c0c8f87b0ebb5b
parent 243369 ad6016b26dbd7547c06b5b7a39bbb9a15280e718
child 243371 96a3ebfe09d801bbc47206d31e10b8e470faa333
push id28738
push usercbook@mozilla.com
push dateTue, 12 May 2015 14:11:31 +0000
treeherdermozilla-central@bedce1b405a3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1161946
milestone40.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 1161946 - patch 3 - explicit CTOR for NotifyRunnable CLOSED TREE
dom/media/MediaStreamGraph.cpp
--- a/dom/media/MediaStreamGraph.cpp
+++ b/dom/media/MediaStreamGraph.cpp
@@ -2419,17 +2419,17 @@ MediaStream::AddMainThreadListener(MainT
   // let finish here.
   if (!mFinishedNotificationSent || mNotificationMainThreadRunnable) {
     return;
   }
 
   class NotifyRunnable final : public nsRunnable
   {
   public:
-    NotifyRunnable(MediaStream* aStream)
+    explicit NotifyRunnable(MediaStream* aStream)
       : mStream(aStream)
     {}
 
     NS_IMETHOD Run() override
     {
       MOZ_ASSERT(NS_IsMainThread());
       mStream->mNotificationMainThreadRunnable = nullptr;
       mStream->NotifyMainThreadListeners();