Bug 1119854 - Followup: Correct one missed conversion of timeout to a finite number. r=jrmuizel
authorBas Schouten <bschouten@mozilla.com>
Sat, 10 Jan 2015 19:43:15 +0100
changeset 223190 ee29d84c968a826c02463a76c5a8361ff001ae1f
parent 223189 3cfe8379a8a55ed1eb5586aca7a1f1650dcfce59
child 223191 818164d97da8d620836a5ff023e4a20fbbfae1f6
push id10769
push usercbook@mozilla.com
push dateMon, 12 Jan 2015 14:15:52 +0000
treeherderfx-team@0e9765732906 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjrmuizel
bugs1119854
milestone37.0a1
Bug 1119854 - Followup: Correct one missed conversion of timeout to a finite number. r=jrmuizel
gfx/gl/SharedSurfaceANGLE.cpp
--- a/gfx/gl/SharedSurfaceANGLE.cpp
+++ b/gfx/gl/SharedSurfaceANGLE.cpp
@@ -154,17 +154,17 @@ SharedSurface_ANGLEShareHandle::PollSync
 {
     return true;
 }
 
 void
 SharedSurface_ANGLEShareHandle::ProducerAcquireImpl()
 {
     if (mKeyedMutex) {
-        HRESULT hr = mKeyedMutex->AcquireSync(0, INFINITE);
+        HRESULT hr = mKeyedMutex->AcquireSync(0, 10000);
         if (hr == WAIT_TIMEOUT) {
             MOZ_CRASH();
         }
     }
 }
 
 void
 SharedSurface_ANGLEShareHandle::ProducerReleaseImpl()