| Index: chrome/browser/sync/glue/sync_backend_registrar.cc
|
| diff --git a/chrome/browser/sync/glue/sync_backend_registrar.cc b/chrome/browser/sync/glue/sync_backend_registrar.cc
|
| index 919b641154c9d8849c72cfbd9cb7b86e020f736c..452bcd9c5cbfc3d6e2c19cb9663e3ea72f12214d 100644
|
| --- a/chrome/browser/sync/glue/sync_backend_registrar.cc
|
| +++ b/chrome/browser/sync/glue/sync_backend_registrar.cc
|
| @@ -9,6 +9,7 @@
|
| #include "base/compiler_specific.h"
|
| #include "base/logging.h"
|
| #include "base/message_loop.h"
|
| +#include "chrome/browser/password_manager/password_store_factory.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/sync/engine/passive_model_worker.h"
|
| #include "chrome/browser/sync/glue/browser_thread_model_worker.h"
|
| @@ -87,7 +88,7 @@ SyncBackendRegistrar::SyncBackendRegistrar(
|
| }
|
|
|
| PasswordStore* password_store =
|
| - profile->GetPasswordStore(Profile::IMPLICIT_ACCESS);
|
| + PasswordStoreFactory::GetForProfile(profile, Profile::IMPLICIT_ACCESS);
|
| if (password_store) {
|
| workers_[GROUP_PASSWORD] = new PasswordModelWorker(password_store);
|
| } else {
|
|
|