| Index: chrome/browser/sync/profile_sync_service_factory.cc
|
| diff --git a/chrome/browser/sync/profile_sync_service_factory.cc b/chrome/browser/sync/profile_sync_service_factory.cc
|
| index 013e4882ae97b718e6f9936e7394a404cb6da2c7..fd8b81c42575ca9348764b665e83f8ebca86902f 100644
|
| --- a/chrome/browser/sync/profile_sync_service_factory.cc
|
| +++ b/chrome/browser/sync/profile_sync_service_factory.cc
|
| @@ -80,7 +80,9 @@ ProfileSyncServiceFactory::~ProfileSyncServiceFactory() {
|
| }
|
|
|
| ProfileKeyedService* ProfileSyncServiceFactory::BuildServiceInstanceFor(
|
| - Profile* profile) const {
|
| + content::BrowserContext* context) const {
|
| + Profile* profile = static_cast<Profile*>(context);
|
| +
|
| ProfileSyncService::StartBehavior behavior =
|
| browser_defaults::kSyncAutoStarts ? ProfileSyncService::AUTO_START
|
| : ProfileSyncService::MANUAL_START;
|
|
|