diff options
Diffstat (limited to 'gpu/command_buffer/client/ring_buffer_test.cc')
-rw-r--r-- | gpu/command_buffer/client/ring_buffer_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gpu/command_buffer/client/ring_buffer_test.cc b/gpu/command_buffer/client/ring_buffer_test.cc index 04e4e30..55f4c0e 100644 --- a/gpu/command_buffer/client/ring_buffer_test.cc +++ b/gpu/command_buffer/client/ring_buffer_test.cc @@ -125,7 +125,7 @@ class RingBufferTest : public BaseRingBufferTest { virtual void TearDown() { // If the GpuScheduler posts any tasks, this forces them to run. - MessageLoop::current()->RunAllPending(); + MessageLoop::current()->RunUntilIdle(); BaseRingBufferTest::TearDown(); } @@ -221,7 +221,7 @@ class RingBufferWrapperTest : public BaseRingBufferTest { virtual void TearDown() { // If the GpuScheduler posts any tasks, this forces them to run. - MessageLoop::current()->RunAllPending(); + MessageLoop::current()->RunUntilIdle(); BaseRingBufferTest::TearDown(); } |