From 1f2758228b6d9466f32d85d7976e9406480c8b2b Mon Sep 17 00:00:00 2001 From: Nicolas Silva Date: Tue, 4 Jun 2013 21:08:15 +0200 Subject: [PATCH] Bug 875211 - fix windows build on a CLOSED TREE --- gfx/layers/opengl/CompositorOGL.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gfx/layers/opengl/CompositorOGL.cpp b/gfx/layers/opengl/CompositorOGL.cpp index ae266fe0dad1..ac244dc6346e 100644 --- a/gfx/layers/opengl/CompositorOGL.cpp +++ b/gfx/layers/opengl/CompositorOGL.cpp @@ -234,9 +234,11 @@ CompositorOGL::CompositorOGL(nsIWidget *aWidget, int aSurfaceWidth, , mUseExternalSurfaceSize(aUseExternalSurfaceSize) , mFrameInProgress(false) , mDestroyed(false) - , mTextures({0, 0, 0}) { MOZ_COUNT_CTOR(CompositorOGL); + mTextures[0] = 0; + mTextures[1] = 0; + mTextures[2] = 0; sBackend = LAYERS_OPENGL; }