| 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 4855b952baae59b0cf35f200392f997a66a9f6ca..8169ded5ad1602efb3115f401f75c3bae7c7ef45 100644
|
| --- a/chrome/browser/services/gcm/fake_gcm_profile_service.cc
|
| +++ b/chrome/browser/services/gcm/fake_gcm_profile_service.cc
|
| @@ -111,7 +111,10 @@ KeyedService* FakeGCMProfileService::Build(content::BrowserContext* context) {
|
| }
|
|
|
| FakeGCMProfileService::FakeGCMProfileService(Profile* profile)
|
| - : collect_(false) {}
|
| + : collect_(false) {
|
| + static_cast<PushMessagingServiceImpl*>(push_messaging_service())
|
| + ->SetProfileForTesting(profile);
|
| +}
|
|
|
| FakeGCMProfileService::~FakeGCMProfileService() {}
|
|
|
|
|