Index: chrome/browser/sync/profile_sync_service_factory.cc |
diff --git a/chrome/browser/sync/profile_sync_service_factory.cc b/chrome/browser/sync/profile_sync_service_factory.cc |
index e36d7d87afb59df62a884f5d4984f52ac4917199..ce61b07df2e422fa92f9b7c3bf5d088850d0b65d 100644 |
--- a/chrome/browser/sync/profile_sync_service_factory.cc |
+++ b/chrome/browser/sync/profile_sync_service_factory.cc |
@@ -111,6 +111,7 @@ ProfileSyncServiceFactory::ProfileSyncServiceFactory() |
DependsOn(GaiaCookieManagerServiceFactory::GetInstance()); |
#if !defined(OS_ANDROID) |
DependsOn(GlobalErrorServiceFactory::GetInstance()); |
+ DependsOn(ThemeServiceFactory::GetInstance()); |
#endif |
DependsOn(HistoryServiceFactory::GetInstance()); |
DependsOn(invalidation::ProfileInvalidationProviderFactory::GetInstance()); |
@@ -118,9 +119,6 @@ ProfileSyncServiceFactory::ProfileSyncServiceFactory() |
DependsOn(ProfileOAuth2TokenServiceFactory::GetInstance()); |
DependsOn(SigninManagerFactory::GetInstance()); |
DependsOn(TemplateURLServiceFactory::GetInstance()); |
-#if defined(ENABLE_THEMES) |
- DependsOn(ThemeServiceFactory::GetInstance()); |
-#endif |
DependsOn(WebDataServiceFactory::GetInstance()); |
#if BUILDFLAG(ENABLE_EXTENSIONS) |
DependsOn( |