Bug 1187440 - Fix curly brace bustage in TextureHostOGL. CLOSED TREE
authorAndrew Comminos <acomminos@mozilla.com>
Thu, 30 Jul 2015 10:13:00 -0400
changeset 287182 b0d4af6d3d2a6ea986f61b57470cbad0827d32b8
parent 287181 189161dc16163e36f6e917d360a2c37764f4543c
child 287183 41dadd801de3066d9dff42713d824fc9890ff9c9
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1187440
milestone42.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 1187440 - Fix curly brace bustage in TextureHostOGL. CLOSED TREE
gfx/layers/opengl/TextureHostOGL.cpp
--- a/gfx/layers/opengl/TextureHostOGL.cpp
+++ b/gfx/layers/opengl/TextureHostOGL.cpp
@@ -97,18 +97,18 @@ CreateTextureHostOGL(const SurfaceDescri
     }
 #endif
 
 #ifdef GL_PROVIDER_GLX
     case SurfaceDescriptor::TSurfaceDescriptorX11: {
       const auto& desc = aDesc.get_SurfaceDescriptorX11();
       result = new X11TextureHost(aFlags, desc);
       break;
+    }
 #endif
-    }
     default: return nullptr;
   }
   return result.forget();
 }
 
 static gl::TextureImage::Flags
 FlagsToGLFlags(TextureFlags aFlags)
 {