Bug 1170143 - Build fix. r=me
authorNicolas Silva <nsilva@mozilla.com>
Fri, 05 Jun 2015 16:56:06 +0200
changeset 247416 0f448c718d9f
parent 247415 86e252f5ad3e
child 247417 d5c4bdbc7daf
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)
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;