Index: chrome/browser/services/gcm/fake_gcm_profile_service.cc |
diff --git a/chrome/browser/services/gcm/fake_gcm_profile_service.cc b/chrome/browser/services/gcm/fake_gcm_profile_service.cc |
index 3d2d2109cdfbe5eb0858b789bccd4fbc4c3e5837..e1926a3b4539a3b99c5364fbd9227cc330957bdd 100644 |
--- a/chrome/browser/services/gcm/fake_gcm_profile_service.cc |
+++ b/chrome/browser/services/gcm/fake_gcm_profile_service.cc |
@@ -115,8 +115,6 @@ KeyedService* FakeGCMProfileService::Build(content::BrowserContext* context) { |
FakeGCMProfileService::FakeGCMProfileService(Profile* profile) |
: collect_(false), |
registration_count_(0) { |
- static_cast<PushMessagingServiceImpl*>(push_messaging_service()) |
- ->SetProfileForTesting(profile); |
} |
FakeGCMProfileService::~FakeGCMProfileService() {} |