Bug 1170143 - Fix Windows bustage to reopen a CLOSED TREE.
authorRyan VanderMeulen <ryanvm@gmail.com>
Fri, 05 Jun 2015 11:31:16 -0400
changeset 247416 c986df6d8b8c
parent 247415 ab595285aa97
child 247418 cffc40f56130
push id60698
push userryanvm@gmail.com
push date2015-06-05 15:31 +0000
treeherdermozilla-inbound@c986df6d8b8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1170143
milestone41.0a1
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;