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 79b507432d7371000eb8fad8ca27a2b622936966..35f4493d3cedde8ef7673eeb11e49feeec5a0d2d 100644 |
--- a/chrome/browser/history/history_service_factory.cc |
+++ b/chrome/browser/history/history_service_factory.cc |
@@ -60,7 +60,6 @@ void HistoryServiceFactory::ShutdownForProfile(Profile* profile) { |
HistoryServiceFactory::HistoryServiceFactory() |
: BrowserContextKeyedServiceFactory( |
"HistoryService", BrowserContextDependencyManager::GetInstance()) { |
- DependsOn(BookmarkModelFactory::GetInstance()); |
DependsOn(ChromeHistoryClientFactory::GetInstance()); |
} |
@@ -72,8 +71,7 @@ KeyedService* HistoryServiceFactory::BuildServiceInstanceFor( |
Profile* profile = static_cast<Profile*>(context); |
HistoryService* history_service = new HistoryService( |
ChromeHistoryClientFactory::GetForProfile(profile), profile); |
- if (!history_service->Init(profile->GetPath(), |
- BookmarkModelFactory::GetForProfile(profile))) { |
+ if (!history_service->Init(profile->GetPath())) { |
return NULL; |
} |
return history_service; |