Bug 1170143 - Fix Windows bustage to reopen a CLOSED TREE.
authorRyan VanderMeulen <ryanvm@gmail.com>
Fri, 05 Jun 2015 11:31:16 -0400
changeset 247419 c986df6d8b8c
parent 247418 ab595285aa97
child 247420 cffc40f56130
push id28864
push userkwierso@gmail.com
push date2015-06-05 21:49 +0000
treeherdermozilla-central@97a39c939c51 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1170143
milestone41.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 1170143 - Fix Windows bustage to reopen a CLOSED TREE.
gfx/layers/d3d11/TextureD3D11.cpp
--- a/gfx/layers/d3d11/TextureD3D11.cpp
+++ b/gfx/layers/d3d11/TextureD3D11.cpp
@@ -560,17 +560,17 @@ DXGIYCbCrTextureClient::Create(ISurfaceA
                                HANDLE aHandleY,
                                HANDLE aHandleCb,
                                HANDLE aHandleCr,
                                const gfx::IntSize& aSize,
                                const gfx::IntSize& aSizeY,
                                const gfx::IntSize& aSizeCbCr)
 {
   if (!aHandleY || !aHandleCb || !aHandleCr ||
-      !aTextureY, || !aTextureCb || !aTextureCr) {
+      !aTextureY || !aTextureCb || !aTextureCr) {
     return nullptr;
   }
 
   RefPtr<DXGIYCbCrTextureClient> texture =
     new DXGIYCbCrTextureClient(aAllocator, aFlags);
   texture->mHandles[0] = aHandleY;
   texture->mHandles[1] = aHandleCb;
   texture->mHandles[2] = aHandleCr;