Index: chrome/browser/password_manager/password_store_mac_unittest.cc |
diff --git a/chrome/browser/password_manager/password_store_mac_unittest.cc b/chrome/browser/password_manager/password_store_mac_unittest.cc |
index 624c9b14c29007fd0e492ea6032cc39e7ca526da..fc6f193294282196b7f399c1b284b5f4e3b5445f 100644 |
--- a/chrome/browser/password_manager/password_store_mac_unittest.cc |
+++ b/chrome/browser/password_manager/password_store_mac_unittest.cc |
@@ -11,6 +11,7 @@ |
#include "base/strings/string_util.h" |
#include "base/strings/utf_string_conversions.h" |
#include "base/synchronization/waitable_event.h" |
+#include "base/thread_task_runner_handle.h" |
#include "chrome/browser/password_manager/password_store_mac_internal.h" |
#include "chrome/common/chrome_paths.h" |
#include "components/password_manager/core/browser/login_database.h" |
@@ -1153,7 +1154,8 @@ class PasswordStoreMacTest : public testing::Test { |
void CreateAndInitPasswordStore( |
scoped_ptr<password_manager::LoginDatabase> login_db) { |
store_ = new TestPasswordStoreMac( |
- base::MessageLoopProxy::current(), base::MessageLoopProxy::current(), |
+ base::ThreadTaskRunnerHandle::Get(), |
+ base::ThreadTaskRunnerHandle::Get(), |
make_scoped_ptr<AppleKeychain>(new MockAppleKeychain), login_db.Pass()); |
ASSERT_TRUE(store_->Init(syncer::SyncableService::StartSyncFlare())); |
} |