Index: chrome/browser/ui/browser_view_prefs.cc |
diff --git a/chrome/browser/ui/browser_view_prefs.cc b/chrome/browser/ui/browser_view_prefs.cc |
index 1bf1eb74b2a0b8088abd6e609a39de9e131b9f1d..95555bacc6183b7f8fa12710d4ef87582a3ff3d3 100644 |
--- a/chrome/browser/ui/browser_view_prefs.cc |
+++ b/chrome/browser/ui/browser_view_prefs.cc |
@@ -32,7 +32,7 @@ void RegisterBrowserViewLocalPrefs(PrefRegistrySimple* registry) { |
void RegisterBrowserViewProfilePrefs( |
user_prefs::PrefRegistrySyncable* registry) { |
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS) |
+#if !defined(OS_CHROMEOS) && defined(USE_X11) |
registry->RegisterBooleanPref(prefs::kUseCustomChromeFrame, |
ui::GetCustomFramePrefDefault()); |
#endif |