| Index: chrome/browser/services/gcm/gcm_profile_service_factory.cc
|
| diff --git a/chrome/browser/services/gcm/gcm_profile_service_factory.cc b/chrome/browser/services/gcm/gcm_profile_service_factory.cc
|
| index aff75d89c5d017478446879f41fd05ac13f3b9db..57857255a9159cdbf6be07735e435c27f42a9838 100644
|
| --- a/chrome/browser/services/gcm/gcm_profile_service_factory.cc
|
| +++ b/chrome/browser/services/gcm/gcm_profile_service_factory.cc
|
| @@ -38,8 +38,6 @@ GCMProfileServiceFactory::~GCMProfileServiceFactory() {
|
| BrowserContextKeyedService* GCMProfileServiceFactory::BuildServiceInstanceFor(
|
| content::BrowserContext* context) const {
|
| Profile* profile = static_cast<Profile*>(context);
|
| - if (!gcm::GCMProfileService::IsGCMEnabled(profile))
|
| - return NULL;
|
| GCMProfileService* service = new GCMProfileService(profile);
|
| scoped_ptr<GCMClientFactory> gcm_client_factory(new GCMClientFactory);
|
| service->Initialize(gcm_client_factory.Pass());
|
|
|