diff --git a/dom/filehandle/ActorsChild.h b/dom/filehandle/ActorsChild.h index 0a670c1dcceb..aacb05659b72 100644 --- a/dom/filehandle/ActorsChild.h +++ b/dom/filehandle/ActorsChild.h @@ -89,8 +89,8 @@ class BackgroundFileHandleChild FileHandleBase* mFileHandle; public: - BackgroundFileHandleChild(DEBUGONLY(PRThread* aOwningThread,) - FileHandleBase* aFileHandle); + explicit BackgroundFileHandleChild(DEBUGONLY(PRThread* aOwningThread,) + FileHandleBase* aFileHandle); void SendDeleteMeInternal(); @@ -136,8 +136,8 @@ class BackgroundFileRequestChild final private: // Only created by FileHandleBase. - BackgroundFileRequestChild(DEBUGONLY(PRThread* aOwningThread,) - FileRequestBase* aFileRequest); + explicit BackgroundFileRequestChild(DEBUGONLY(PRThread* aOwningThread,) + FileRequestBase* aFileRequest); // Only destroyed by BackgroundFileHandleChild. ~BackgroundFileRequestChild();