Bug 1170143 - Build fix. r=me
authorNicolas Silva <nsilva@mozilla.com>
Fri, 05 Jun 2015 16:56:06 +0200
changeset 247413 0f448c718d9f
parent 247412 86e252f5ad3e
child 247414 d5c4bdbc7daf
push id60695
push usernsilva@mozilla.com
push date2015-06-05 14:56 +0000
treeherdermozilla-inbound@0f448c718d9f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1170143
milestone41.0a1
Bug 1170143 - Build fix. r=me
gfx/layers/IMFYCbCrImage.cpp
--- a/gfx/layers/IMFYCbCrImage.cpp
+++ b/gfx/layers/IMFYCbCrImage.cpp
@@ -99,17 +99,17 @@ InitTextures(IDirect3DDevice9* aDevice,
 }
 
 static bool
 FinishTextures(IDirect3DDevice9* aDevice,
                IDirect3DTexture9* aTexture,
                IDirect3DSurface9* aSurface)
 {
   if (!aDevice) {
-    return;
+    return false;
   }
 
   HRESULT hr = aSurface->UnlockRect();
   if (FAILED(hr)) {
     return false;
   }
 
   nsRefPtr<IDirect3DSurface9> dstSurface;