Bug 1116733 (Followup) - Mark constructor of UnlockImageDataRunnable explicit on a CLOSED TREE. r=me
authorSeth Fowler <seth@mozilla.com>
Thu, 08 Jan 2015 01:28:21 -0800
changeset 222616 c356ab8b348af6a10f7886fb75e687e511f637f9
parent 222615 a49774cdd1b18e45f76819a7a2cd2da45556efaa
child 222617 a6b7338b7658b7e98b11a82c2e522ce9d5a6e1d0
push id53673
push usermfowler@mozilla.com
push dateThu, 08 Jan 2015 09:30:03 +0000
treeherdermozilla-inbound@c356ab8b348a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1116733
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 1116733 (Followup) - Mark constructor of UnlockImageDataRunnable explicit on a CLOSED TREE. r=me
image/src/imgFrame.cpp
--- a/image/src/imgFrame.cpp
+++ b/image/src/imgFrame.cpp
@@ -814,17 +814,17 @@ imgFrame::AssertImageDataLocked() const
   MutexAutoLock lock(mMutex);
   MOZ_ASSERT(mLockCount > 0, "Image data should be locked");
 #endif
 }
 
 class UnlockImageDataRunnable : public nsRunnable
 {
 public:
-  UnlockImageDataRunnable(imgFrame* aTarget)
+  explicit UnlockImageDataRunnable(imgFrame* aTarget)
     : mTarget(aTarget)
   {
     MOZ_ASSERT(mTarget);
   }
 
   NS_IMETHOD Run() { return mTarget->UnlockImageData(); }
 
 private: