Index: chrome/browser/history/history_service_factory.cc |
diff --git a/chrome/browser/history/history_service_factory.cc b/chrome/browser/history/history_service_factory.cc |
index 02b944cac113d400504d52e1bf770165e2d661df..67227ad458787552c5b86a1cce816f8eef679f26 100644 |
--- a/chrome/browser/history/history_service_factory.cc |
+++ b/chrome/browser/history/history_service_factory.cc |
@@ -10,6 +10,7 @@ |
#include "chrome/browser/bookmarks/chrome_bookmark_client_factory.h" |
#include "chrome/browser/history/chrome_history_client.h" |
#include "chrome/browser/history/chrome_history_client_factory.h" |
+#include "chrome/browser/history/content_visit_delegate.h" |
#include "chrome/browser/history/history_service.h" |
#include "chrome/browser/profiles/incognito_helpers.h" |
#include "chrome/browser/profiles/profile.h" |
@@ -77,7 +78,8 @@ KeyedService* HistoryServiceFactory::BuildServiceInstanceFor( |
content::BrowserContext* context) const { |
Profile* profile = Profile::FromBrowserContext(context); |
scoped_ptr<HistoryService> history_service(new HistoryService( |
- ChromeHistoryClientFactory::GetForProfile(profile), profile)); |
+ ChromeHistoryClientFactory::GetForProfile(profile), |
+ scoped_ptr<history::VisitDelegate>(new ContentVisitDelegate(profile)))); |
if (!history_service->Init( |
profile->GetPrefs(), |
history::HistoryDatabaseParamsForPath(profile->GetPath()))) { |