| Index: chrome/browser/instant/instant_service_factory.cc
|
| diff --git a/chrome/browser/instant/instant_service_factory.cc b/chrome/browser/instant/instant_service_factory.cc
|
| index 0edac14686ddb537fbbecdb626a5f02f35179043..bea3e6d37ca71fe4be61ddb55710b9554b180768 100644
|
| --- a/chrome/browser/instant/instant_service_factory.cc
|
| +++ b/chrome/browser/instant/instant_service_factory.cc
|
| @@ -6,6 +6,8 @@
|
|
|
| #include "chrome/browser/instant/instant_service.h"
|
| #include "chrome/browser/profiles/profile_dependency_manager.h"
|
| +#include "chrome/browser/search_engines/template_url_service_factory.h"
|
| +#include "chrome/browser/themes/theme_service_factory.h"
|
|
|
| // static
|
| InstantService* InstantServiceFactory::GetForProfile(Profile* profile) {
|
| @@ -21,7 +23,8 @@ InstantServiceFactory* InstantServiceFactory::GetInstance() {
|
| InstantServiceFactory::InstantServiceFactory()
|
| : ProfileKeyedServiceFactory("InstantService",
|
| ProfileDependencyManager::GetInstance()) {
|
| - // No dependencies.
|
| + DependsOn(TemplateURLServiceFactory::GetInstance());
|
| + DependsOn(ThemeServiceFactory::GetInstance());
|
| }
|
|
|
| InstantServiceFactory::~InstantServiceFactory() {
|
|
|