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 223132 ee29d84c968a826c02463a76c5a8361ff001ae1f
parent 223131 3cfe8379a8a55ed1eb5586aca7a1f1650dcfce59
child 223133 818164d97da8d620836a5ff023e4a20fbbfae1f6
push id28082
push usercbook@mozilla.com
push dateMon, 12 Jan 2015 10:44:52 +0000
treeherdermozilla-central@643589c3ef94 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjrmuizel
bugs1119854
milestone37.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 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()