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

Unified Diff: chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc

Issue 2083363002: Remove calls to deprecated MessageLoop methods in chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
Index: chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc
diff --git a/chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc b/chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc
index 8567231e8b368e09f3c33929002e46526baeb97f..5fe463a60a7c8383f15665daf0ad542b232ff97e 100644
--- a/chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc
+++ b/chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc
@@ -108,7 +108,7 @@ class FullStreamUIPolicyTest : public testing::Test {
// Wait for results; either the checker or the timeout callbacks should
// cause the main loop to exit.
- base::MessageLoop::current()->Run();
+ base::RunLoop().Run();
timeout.Cancel();
}
@@ -933,7 +933,7 @@ TEST_F(FullStreamUIPolicyTest, CapReturns) {
BrowserThread::PostTaskAndReply(
BrowserThread::DB, FROM_HERE, base::Bind(&base::DoNothing),
base::MessageLoop::current()->QuitWhenIdleClosure());
- base::MessageLoop::current()->Run();
+ base::RunLoop().Run();
CheckReadFilteredData(
policy,

Powered by Google App Engine
This is Rietveld 408576698