Index: components/autofill/core/browser/personal_data_manager_unittest.cc |
diff --git a/components/autofill/core/browser/personal_data_manager_unittest.cc b/components/autofill/core/browser/personal_data_manager_unittest.cc |
index 231da52dba5b592782a76ed707e4741057349c3e..31d150474cb678233f1efb596c79fb2c4267f934 100644 |
--- a/components/autofill/core/browser/personal_data_manager_unittest.cc |
+++ b/components/autofill/core/browser/personal_data_manager_unittest.cc |
@@ -338,7 +338,7 @@ class PersonalDataManagerTest : public testing::Test { |
// Verify that the web database has been updated and the notification sent. |
EXPECT_CALL(personal_data_observer_, OnPersonalDataChanged()) |
.WillOnce(QuitMainMessageLoop()); |
- base::MessageLoop::current()->Run(); |
+ base::RunLoop().Run(); |
CreditCard expected(base::GenerateGUID(), "https://www.example.com"); |
test::SetCreditCardInfo(&expected, exp_name, exp_cc_num, exp_cc_month, |