| Index: chrome/browser/profiles/gaia_info_update_service_factory.cc
|
| diff --git a/chrome/browser/profiles/gaia_info_update_service_factory.cc b/chrome/browser/profiles/gaia_info_update_service_factory.cc
|
| index f8f46f75254926f0a16b199f9057257f943f68de..7631f06f810d46d9ade984e2905a1eb7e7f38e57 100644
|
| --- a/chrome/browser/profiles/gaia_info_update_service_factory.cc
|
| +++ b/chrome/browser/profiles/gaia_info_update_service_factory.cc
|
| @@ -5,6 +5,7 @@
|
| #include "chrome/browser/profiles/gaia_info_update_service_factory.h"
|
|
|
| #include "chrome/browser/profiles/gaia_info_update_service.h"
|
| +#include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/profiles/profile_dependency_manager.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "components/user_prefs/pref_registry_syncable.h"
|
| @@ -29,7 +30,8 @@ GAIAInfoUpdateServiceFactory* GAIAInfoUpdateServiceFactory::GetInstance() {
|
| }
|
|
|
| ProfileKeyedService* GAIAInfoUpdateServiceFactory::BuildServiceInstanceFor(
|
| - Profile* profile) const {
|
| + content::BrowserContext* context) const {
|
| + Profile* profile = static_cast<Profile*>(context);
|
| if (!GAIAInfoUpdateService::ShouldUseGAIAProfileInfo(profile))
|
| return NULL;
|
| return new GAIAInfoUpdateService(profile);
|
|
|