| Index: chrome/browser/services/gcm/gcm_profile_service.cc
|
| diff --git a/chrome/browser/services/gcm/gcm_profile_service.cc b/chrome/browser/services/gcm/gcm_profile_service.cc
|
| index d4ab7028ab9c9d37dcb7bd9edae2f13c0fb56062..424f5909fcc43c86e851b7da12966e20ade79f4f 100644
|
| --- a/chrome/browser/services/gcm/gcm_profile_service.cc
|
| +++ b/chrome/browser/services/gcm/gcm_profile_service.cc
|
| @@ -44,8 +44,7 @@ void GCMProfileService::RegisterProfilePrefs(
|
|
|
| #if defined(OS_ANDROID)
|
| GCMProfileService::GCMProfileService(Profile* profile)
|
| - : profile_(profile),
|
| - push_messaging_service_(this) {
|
| + : profile_(profile) {
|
| DCHECK(!profile->IsOffTheRecord());
|
|
|
| driver_.reset(new GCMDriverAndroid);
|
| @@ -54,8 +53,7 @@ GCMProfileService::GCMProfileService(Profile* profile)
|
| GCMProfileService::GCMProfileService(
|
| Profile* profile,
|
| scoped_ptr<GCMClientFactory> gcm_client_factory)
|
| - : profile_(profile),
|
| - push_messaging_service_(this) {
|
| + : profile_(profile) {
|
| DCHECK(!profile->IsOffTheRecord());
|
|
|
| driver_ = CreateGCMDriverDesktop(
|
| @@ -69,9 +67,7 @@ GCMProfileService::GCMProfileService(
|
| }
|
| #endif // defined(OS_ANDROID)
|
|
|
| -GCMProfileService::GCMProfileService()
|
| - : profile_(NULL),
|
| - push_messaging_service_(this) {
|
| +GCMProfileService::GCMProfileService() : profile_(NULL) {
|
| }
|
|
|
| GCMProfileService::~GCMProfileService() {
|
|
|