Bug 1245813 - Add a missing parenthesis on NS_SUCCEEDED, on a CLOSED TREE.
authorPaul Adenot <paul@paul.cx>
Wed, 23 Mar 2016 12:48:41 +0100
changeset 290045 8535142add0fce0b838b944dfdab767e143a82ac
parent 290044 2e636d5fcda8ec844e2fc917cccd4126b80f4137
child 290046 c143be9df73e9f540d8d406590e934afb8dea3de
push id30114
push usercbook@mozilla.com
push dateThu, 24 Mar 2016 15:15:54 +0000
treeherdermozilla-central@24c5fbde4488 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1245813
milestone48.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 1245813 - Add a missing parenthesis on NS_SUCCEEDED, on a CLOSED TREE.
gfx/layers/opengl/TextureHostOGL.cpp
--- a/gfx/layers/opengl/TextureHostOGL.cpp
+++ b/gfx/layers/opengl/TextureHostOGL.cpp
@@ -494,17 +494,17 @@ SurfaceTextureHost::Lock()
     mTextureSource = new SurfaceTextureSource(mCompositor,
                                               mSurfTex,
                                               format,
                                               target,
                                               wrapMode,
                                               mSize);
   }
 
-  return NS_SUCCEEDED(mSurfTex->Attach(gl);
+  return NS_SUCCEEDED(mSurfTex->Attach(gl));
 }
 
 void
 SurfaceTextureHost::Unlock()
 {
   MOZ_ASSERT(mSurfTex);
   mSurfTex->Detach();
 }