Index: chrome/browser/password_manager/password_store_default_unittest.cc |
diff --git a/chrome/browser/password_manager/password_store_default_unittest.cc b/chrome/browser/password_manager/password_store_default_unittest.cc |
index b419a4da94c8b947954f8752384d2860770fb308..9d1cb992c635a5b21fe5bc3772df4ed4f826a6e4 100644 |
--- a/chrome/browser/password_manager/password_store_default_unittest.cc |
+++ b/chrome/browser/password_manager/password_store_default_unittest.cc |
@@ -135,7 +135,11 @@ ACTION(QuitUIMessageLoop) { |
TEST_F(PasswordStoreDefaultTest, NonASCIIData) { |
scoped_refptr<PasswordStoreDefault> store( |
- new PasswordStoreDefault(login_db_.release(), profile_.get())); |
+ new PasswordStoreDefault( |
+ base::MessageLoopProxy::current(), |
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::DB), |
+ login_db_.release(), |
+ profile_.get())); |
store->Init(); |
// Some non-ASCII password form data. |
@@ -187,8 +191,12 @@ TEST_F(PasswordStoreDefaultTest, NonASCIIData) { |
} |
TEST_F(PasswordStoreDefaultTest, Notifications) { |
- scoped_refptr<PasswordStore> store( |
- new PasswordStoreDefault(login_db_.release(), profile_.get())); |
+ scoped_refptr<PasswordStoreDefault> store( |
+ new PasswordStoreDefault( |
+ base::MessageLoopProxy::current(), |
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::DB), |
+ login_db_.release(), |
+ profile_.get())); |
store->Init(); |
PasswordFormData form_data = |