diff --git a/gfx/layers/opengl/TextureClientOGL.cpp b/gfx/layers/opengl/TextureClientOGL.cpp index 247d39b83b2..c61897494ea 100644 --- a/gfx/layers/opengl/TextureClientOGL.cpp +++ b/gfx/layers/opengl/TextureClientOGL.cpp @@ -21,6 +21,7 @@ SharedTextureClientOGL::SharedTextureClientOGL(TextureFlags aFlags) : TextureClient(aFlags) , mHandle(0) , mInverted(false) + , mIsLocked(false) { // SharedTextureClient is always owned externally. mFlags |= TextureFlags::DEALLOCATE_CLIENT;