Index: content/public/test/test_utils.cc |
diff --git a/content/public/test/test_utils.cc b/content/public/test/test_utils.cc |
index 4afe2321e9f3f4c021831dc3857db3582e9991a7..1d2da32abb0acc830b7f43ebff665f4bfb88c092 100644 |
--- a/content/public/test/test_utils.cc |
+++ b/content/public/test/test_utils.cc |
@@ -292,8 +292,8 @@ void WindowedNotificationObserver::Wait() { |
return; |
running_ = true; |
- message_loop_runner_ = new MessageLoopRunner; |
- message_loop_runner_->Run(); |
+ run_loop_.reset(new base::RunLoop); |
+ run_loop_->Run(); |
EXPECT_TRUE(seen_); |
} |
@@ -310,7 +310,7 @@ void WindowedNotificationObserver::Observe( |
if (!running_) |
return; |
- message_loop_runner_->Quit(); |
+ run_loop_->Quit(); |
running_ = false; |
} |