Index: chrome/browser/search/instant_service_factory.cc |
diff --git a/chrome/browser/search/instant_service_factory.cc b/chrome/browser/search/instant_service_factory.cc |
index 6cc76f32869dc70cb95d3083d820adbc29f33ec6..c2d9e926e8976d0a9258de88da78cda02e61752f 100644 |
--- a/chrome/browser/search/instant_service_factory.cc |
+++ b/chrome/browser/search/instant_service_factory.cc |
@@ -4,6 +4,7 @@ |
#include "chrome/browser/search/instant_service_factory.h" |
+#include "build/build_config.h" |
#include "chrome/browser/history/top_sites_factory.h" |
#include "chrome/browser/profiles/incognito_helpers.h" |
#include "chrome/browser/profiles/profile.h" |
@@ -34,7 +35,7 @@ InstantServiceFactory::InstantServiceFactory() |
BrowserContextDependencyManager::GetInstance()) { |
DependsOn(suggestions::SuggestionsServiceFactory::GetInstance()); |
DependsOn(TemplateURLServiceFactory::GetInstance()); |
-#if defined(ENABLE_THEMES) |
+#if !defined(OS_ANDROID) |
DependsOn(ThemeServiceFactory::GetInstance()); |
#endif |
DependsOn(TopSitesFactory::GetInstance()); |