Index: chrome/browser/extensions/activity_log.cc |
diff --git a/chrome/browser/extensions/activity_log.cc b/chrome/browser/extensions/activity_log.cc |
index 92c46d38f6a04cc578665317e28617dae9ff0c57..d2b796de35f688ffb01eaa3f3eada8dffec20bbd 100644 |
--- a/chrome/browser/extensions/activity_log.cc |
+++ b/chrome/browser/extensions/activity_log.cc |
@@ -130,8 +130,8 @@ ActivityLogFactory* ActivityLogFactory::GetInstance() { |
} |
ProfileKeyedService* ActivityLogFactory::BuildServiceInstanceFor( |
- Profile* profile) const { |
- return new ActivityLog(profile); |
+ content::BrowserContext* profile) const { |
+ return new ActivityLog(static_cast<Profile*>(profile)); |
} |
bool ActivityLogFactory::ServiceRedirectedInIncognito() const { |