Index: chrome/browser/favicon/favicon_service_factory.cc |
diff --git a/chrome/browser/favicon/favicon_service_factory.cc b/chrome/browser/favicon/favicon_service_factory.cc |
index f3f7d8312aebb5fcf3d628ad46aa5c18ef5e62df..e59733f4487f510bf34dc3db18a6a18bdfa14f30 100644 |
--- a/chrome/browser/favicon/favicon_service_factory.cc |
+++ b/chrome/browser/favicon/favicon_service_factory.cc |
@@ -44,9 +44,9 @@ FaviconServiceFactory::FaviconServiceFactory() |
FaviconServiceFactory::~FaviconServiceFactory() {} |
ProfileKeyedService* FaviconServiceFactory::BuildServiceInstanceFor( |
- Profile* profile) const { |
+ content::BrowserContext* profile) const { |
HistoryService* history_service = HistoryServiceFactory::GetForProfile( |
- profile, Profile::EXPLICIT_ACCESS); |
+ static_cast<Profile*>(profile), Profile::EXPLICIT_ACCESS); |
return new FaviconService(history_service); |
} |