| 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 c6fa790e2ade0e9c4560ca964c840e34b465d2b6..38fb2eae899b0d362d3e15c53d7d3508d968d296 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;
|
|
|