diff --git a/media/mca/filterfw/native/core/gl_frame.h b/media/mca/filterfw/native/core/gl_frame.h index f2a1ad5ed81bd..fdbb1f57009ac 100644 --- a/media/mca/filterfw/native/core/gl_frame.h +++ b/media/mca/filterfw/native/core/gl_frame.h @@ -38,7 +38,7 @@ class GLFrame : public GLBufferHandle { // Create an empty GL frame in the specified GL environment. Note, that the GLFrame does NOT // take ownership. The caller must make sure the GLEnv stays valid as long as the GLFrame is // alive. - GLFrame(GLEnv* gl_env); + explicit GLFrame(GLEnv* gl_env); // Deallocate a GL frame. ~GLFrame(); diff --git a/media/mca/filterfw/native/core/native_frame.h b/media/mca/filterfw/native/core/native_frame.h index 0d335b36a26b5..2da557dec000c 100644 --- a/media/mca/filterfw/native/core/native_frame.h +++ b/media/mca/filterfw/native/core/native_frame.h @@ -27,7 +27,7 @@ namespace filterfw { class NativeFrame { public: // Create an empty native frame. - NativeFrame(int size); + explicit NativeFrame(int size); ~NativeFrame();