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

Unified Diff: components/browsing_data_ui/history_notice_utils_unittest.cc

Issue 2053913002: Remove MessageLoop::current()->RunUntilIdle() in components. (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: components/browsing_data_ui/history_notice_utils_unittest.cc
diff --git a/components/browsing_data_ui/history_notice_utils_unittest.cc b/components/browsing_data_ui/history_notice_utils_unittest.cc
index e850b74f2f8d6f152ae585a14556d0bc5894b006..725a308029fd87524ece006a58c991f187ab0eb1 100644
--- a/components/browsing_data_ui/history_notice_utils_unittest.cc
+++ b/components/browsing_data_ui/history_notice_utils_unittest.cc
@@ -106,7 +106,7 @@ class HistoryNoticeUtilsTest : public ::testing::Test {
// Process the DeleteSoon() called on MergeBooleanCallbacks, otherwise
// this it will be considered to be leaked.
- base::MessageLoop::current()->RunUntilIdle();
+ base::RunLoop().RunUntilIdle();
EXPECT_EQ(expected_test_case_result, result_);
}

Powered by Google App Engine
This is Rietveld 408576698