Bug 1203386 - Fix two implicit constructors in ActorsChild.h; r=baku
authorEhsan Akhgari <ehsan@mozilla.com>
Wed, 09 Sep 2015 20:10:56 -0400
changeset 294383 e8057795e5888731f830d0ba0428b095b71d110c
parent 294382 c558ee35c092ea9ac8f7b01937143d4681403f64
child 294384 37de8cac26874f367e5ccc4dc21daef2cc85fbff
push id5245
push userraliiev@mozilla.com
push dateThu, 29 Oct 2015 11:30:51 +0000
treeherdermozilla-beta@dac831dc1bd0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbaku
bugs1203386
milestone43.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 1203386 - Fix two implicit constructors in ActorsChild.h; r=baku
dom/filehandle/ActorsChild.h
--- a/dom/filehandle/ActorsChild.h
+++ b/dom/filehandle/ActorsChild.h
@@ -84,18 +84,18 @@ class BackgroundFileHandleChild
   // function is called.
   nsRefPtr<FileHandleBase> mTemporaryStrongFileHandle;
 
   // mFileHandle is weak and is valid until the NoteActorDestroyed() member
   // function is called.
   FileHandleBase* mFileHandle;
 
 public:
-  BackgroundFileHandleChild(DEBUGONLY(PRThread* aOwningThread,)
-                            FileHandleBase* aFileHandle);
+  explicit BackgroundFileHandleChild(DEBUGONLY(PRThread* aOwningThread,)
+                                     FileHandleBase* aFileHandle);
 
   void
   SendDeleteMeInternal();
 
 private:
   ~BackgroundFileHandleChild();
 
   void
@@ -131,18 +131,18 @@ class BackgroundFileRequestChild final
   friend class FileHandleBase;
 
   nsRefPtr<FileRequestBase> mFileRequest;
   nsRefPtr<FileHandleBase> mFileHandle;
   bool mActorDestroyed;
 
 private:
   // Only created by FileHandleBase.
-  BackgroundFileRequestChild(DEBUGONLY(PRThread* aOwningThread,)
-                             FileRequestBase* aFileRequest);
+  explicit BackgroundFileRequestChild(DEBUGONLY(PRThread* aOwningThread,)
+                                      FileRequestBase* aFileRequest);
 
   // Only destroyed by BackgroundFileHandleChild.
   ~BackgroundFileRequestChild();
 
   void
   HandleResponse(nsresult aResponse);
 
   void