Index: chrome/browser/ui/webui/ntp/app_resource_cache_factory.cc |
diff --git a/chrome/browser/ui/webui/ntp/app_resource_cache_factory.cc b/chrome/browser/ui/webui/ntp/app_resource_cache_factory.cc |
index d2590a693738e6da45b712642ecc9b1a5a0fd745..1097342f036160403abe83aaac70411e0870b96c 100644 |
--- a/chrome/browser/ui/webui/ntp/app_resource_cache_factory.cc |
+++ b/chrome/browser/ui/webui/ntp/app_resource_cache_factory.cc |
@@ -31,8 +31,8 @@ AppResourceCacheFactory::AppResourceCacheFactory() |
AppResourceCacheFactory::~AppResourceCacheFactory() {} |
ProfileKeyedService* AppResourceCacheFactory::BuildServiceInstanceFor( |
- Profile* profile) const { |
- return new NTPResourceCache(profile); |
+ content::BrowserContext* profile) const { |
+ return new NTPResourceCache(static_cast<Profile*>(profile)); |
} |
bool AppResourceCacheFactory::ServiceRedirectedInIncognito() const { |