Index: chrome/browser/extensions/activity_log.cc |
diff --git a/chrome/browser/extensions/activity_log.cc b/chrome/browser/extensions/activity_log.cc |
index 63a2de862262d17c3c28802795f56b75c6de5536..89d966d88e0bd495ebe48898c4c4075adda4ae5a 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 { |