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