Index: chrome/browser/web_resource/promo_resource_service.cc |
diff --git a/chrome/browser/web_resource/promo_resource_service.cc b/chrome/browser/web_resource/promo_resource_service.cc |
index d04c60472c1015358a4eb85aa20e713fd517a321..09b0aee48784886e7b45ad9a3182c98a054dc5d2 100644 |
--- a/chrome/browser/web_resource/promo_resource_service.cc |
+++ b/chrome/browser/web_resource/promo_resource_service.cc |
@@ -132,6 +132,7 @@ PromoResourceService::PromoResourceService(Profile* profile) |
prefs::kNTPPromoResourceCacheUpdate, |
kStartResourceFetchDelay, |
kCacheUpdateDelay), |
+ profile_(profile), |
web_resource_cache_(NULL), |
channel_(chrome::VersionInfo::CHANNEL_UNKNOWN) { |
Init(); |
@@ -393,7 +394,7 @@ void PromoResourceService::UnpackWebStoreSignal( |
NotificationService::current()->Notify( |
chrome::NOTIFICATION_WEB_STORE_PROMO_LOADED, |
- Source<PromoResourceService>(this), |
+ Source<Profile>(profile_), |
NotificationService::NoDetails()); |
return; |