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 248562 c356ab8b348af6a10f7886fb75e687e511f637f9
parent 248561 a49774cdd1b18e45f76819a7a2cd2da45556efaa
child 248563 a6b7338b7658b7e98b11a82c2e522ce9d5a6e1d0
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)
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: