Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Unified Diff: content/public/test/test_utils.cc

Issue 2737823002: Revert of Reland: Switch WindowedNotificationObserver to use base::RunLoop. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/test/test_utils.h ('k') | extensions/test/extension_test_notification_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/test_utils.cc
diff --git a/content/public/test/test_utils.cc b/content/public/test/test_utils.cc
index 1d2da32abb0acc830b7f43ebff665f4bfb88c092..4afe2321e9f3f4c021831dc3857db3582e9991a7 100644
--- a/content/public/test/test_utils.cc
+++ b/content/public/test/test_utils.cc
@@ -292,8 +292,8 @@
return;
running_ = true;
- run_loop_.reset(new base::RunLoop);
- run_loop_->Run();
+ message_loop_runner_ = new MessageLoopRunner;
+ message_loop_runner_->Run();
EXPECT_TRUE(seen_);
}
@@ -310,7 +310,7 @@
if (!running_)
return;
- run_loop_->Quit();
+ message_loop_runner_->Quit();
running_ = false;
}
« no previous file with comments | « content/public/test/test_utils.h ('k') | extensions/test/extension_test_notification_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698