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_); |
} |