Index: media/blink/video_frame_compositor_unittest.cc |
diff --git a/media/blink/video_frame_compositor_unittest.cc b/media/blink/video_frame_compositor_unittest.cc |
index 74d42d0e854887c6dd8a1b69e90dcecc7dcfc2ff..c20dab5275370c76edc32c997097a62057333387 100644 |
--- a/media/blink/video_frame_compositor_unittest.cc |
+++ b/media/blink/video_frame_compositor_unittest.cc |
@@ -71,7 +71,7 @@ class VideoFrameCompositorTest : public testing::Test, |
compositor()->Start(this); |
// If we previously had a frame, we should still have one now. |
EXPECT_EQ(had_current_frame, !!compositor_->GetCurrentFrame()); |
- message_loop.RunUntilIdle(); |
+ base::RunLoop().RunUntilIdle(); |
} |
void StopVideoRendererSink(bool have_client) { |
@@ -81,7 +81,7 @@ class VideoFrameCompositorTest : public testing::Test, |
compositor()->Stop(); |
// If we previously had a frame, we should still have one now. |
EXPECT_EQ(had_current_frame, !!compositor_->GetCurrentFrame()); |
- message_loop.RunUntilIdle(); |
+ base::RunLoop().RunUntilIdle(); |
} |
void RenderFrame() { |