Index: chrome/browser/profiles/profile_dependency_manager.cc |
diff --git a/chrome/browser/profiles/profile_dependency_manager.cc b/chrome/browser/profiles/profile_dependency_manager.cc |
index 0743d65ab1d36a2800ad3eda74d4598fb94d6109..e4ce57244b7909dcef5df61c9f63fd3515344ada 100644 |
--- a/chrome/browser/profiles/profile_dependency_manager.cc |
+++ b/chrome/browser/profiles/profile_dependency_manager.cc |
@@ -190,7 +190,9 @@ void ProfileDependencyManager::AssertFactoriesBuilt() { |
#endif |
SpellCheckFactory::GetInstance(); |
TabRestoreServiceFactory::GetInstance(); |
+#if defined(ENABLE_THEMES) |
ThemeServiceFactory::GetInstance(); |
+#endif |
TemplateURLServiceFactory::GetInstance(); |
TokenServiceFactory::GetInstance(); |
#if defined(ENABLE_WEB_INTENTS) |