Index: chrome/browser/profiles/profile.cc |
diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc |
index 13fb35ff5d89a812f9dc7beb9b63b6fea5177bc0..b59fe4241cbb3a3cafacb6807b1d16f6ef36ba1a 100644 |
--- a/chrome/browser/profiles/profile.cc |
+++ b/chrome/browser/profiles/profile.cc |
@@ -62,7 +62,7 @@ |
#include "webkit/database/database_tracker.h" |
#include "webkit/quota/quota_manager.h" |
-#if defined(TOOLKIT_USES_GTK) |
+#if defined(TOOLKIT_USES_GTK) && !defined(USE_AURA) |
#include "chrome/browser/ui/gtk/gtk_theme_service.h" |
#endif |
@@ -140,7 +140,7 @@ void Profile::RegisterUserPrefs(PrefService* prefs) { |
prefs->RegisterBooleanPref(prefs::kSpeechInputCensorResults, |
true, |
PrefService::UNSYNCABLE_PREF); |
-#if defined(TOOLKIT_USES_GTK) |
+#if defined(TOOLKIT_USES_GTK) & !defined(USE_AURA) |
prefs->RegisterBooleanPref(prefs::kUsesSystemTheme, |
GtkThemeService::DefaultUsesSystemTheme(), |
PrefService::UNSYNCABLE_PREF); |