Index: chrome/browser/search_engines/template_url_service_factory.cc |
diff --git a/chrome/browser/search_engines/template_url_service_factory.cc b/chrome/browser/search_engines/template_url_service_factory.cc |
index cd5a4f73df7cd545416902d5451d13794184db21..3df907e23e10bd0cd3f8394ed4af0c237ec15d7f 100644 |
--- a/chrome/browser/search_engines/template_url_service_factory.cc |
+++ b/chrome/browser/search_engines/template_url_service_factory.cc |
@@ -7,6 +7,7 @@ |
#include "chrome/browser/prefs/pref_service.h" |
#include "chrome/browser/profiles/profile_dependency_manager.h" |
#include "chrome/browser/search_engines/template_url_service.h" |
+#include "chrome/browser/webdata/web_data_service_factory.h" |
#include "chrome/common/pref_names.h" |
TemplateURLService* TemplateURLServiceFactory::GetForProfile(Profile* profile) { |
@@ -21,8 +22,8 @@ TemplateURLServiceFactory* TemplateURLServiceFactory::GetInstance() { |
TemplateURLServiceFactory::TemplateURLServiceFactory() |
: ProfileKeyedServiceFactory("TemplateURLServiceFactory", |
ProfileDependencyManager::GetInstance()) { |
+ DependsOn(WebDataServiceFactory::GetInstance()); |
// TODO(erg): For Shutdown() order, we need to: |
- // DependsOn(WebDataServiceFactory::GetInstance()); |
// DependsOn(HistoryService::GetInstance()); |
// DependsOn(ExtensionService::GetInstance()); |
} |