Index: chrome/browser/password_manager/password_store_x_unittest.cc |
diff --git a/chrome/browser/password_manager/password_store_x_unittest.cc b/chrome/browser/password_manager/password_store_x_unittest.cc |
index 9beb6ffdcbbb1443ce2177320f4a670c9f643160..602f4f518b141110fa45d54857e1f93d3e29010b 100644 |
--- a/chrome/browser/password_manager/password_store_x_unittest.cc |
+++ b/chrome/browser/password_manager/password_store_x_unittest.cc |
@@ -284,9 +284,12 @@ ACTION(STLDeleteElements0) { |
TEST_P(PasswordStoreXTest, Notifications) { |
scoped_refptr<PasswordStoreX> store( |
- new PasswordStoreX(login_db_.release(), |
- profile_.get(), |
- GetBackend())); |
+ new PasswordStoreX( |
+ base::MessageLoopProxy::current(), |
+ base::MessageLoopProxy::current(), |
+ login_db_.release(), |
+ profile_.get(), |
+ GetBackend())); |
store->Init(); |
PasswordFormData form_data = |
@@ -396,9 +399,12 @@ TEST_P(PasswordStoreXTest, NativeMigration) { |
// Initializing the PasswordStore shouldn't trigger a native migration (yet). |
scoped_refptr<PasswordStoreX> store( |
- new PasswordStoreX(login_db_.release(), |
- profile_.get(), |
- GetBackend())); |
+ new PasswordStoreX( |
+ base::MessageLoopProxy::current(), |
+ base::MessageLoopProxy::current(), |
+ login_db_.release(), |
+ profile_.get(), |
+ GetBackend())); |
store->Init(); |
MockPasswordStoreConsumer consumer; |