Index: chrome/browser/ui/ash/ash_init.cc |
diff --git a/chrome/browser/ui/ash/ash_init.cc b/chrome/browser/ui/ash/ash_init.cc |
index d92d554fc9cb74f08e0e0f0258fee2b3352ba1c9..c3a8b51365558f9d0da5dcfd35425afe0af9b16e 100644 |
--- a/chrome/browser/ui/ash/ash_init.cc |
+++ b/chrome/browser/ui/ash/ash_init.cc |
@@ -44,12 +44,14 @@ bool ShouldOpenAshOnStartup() { |
void OpenAsh() { |
#if defined(OS_CHROMEOS) |
+#if defined(USE_X11) |
if (base::SysInfo::IsRunningOnChromeOS()) { |
// Hides the cursor outside of the Aura root window. The cursor will be |
// drawn within the Aura root window, and it'll remain hidden after the |
// Aura window is closed. |
ui::HideHostCursor(); |
} |
+#endif |
// Hide the mouse cursor completely at boot. |
if (!chromeos::LoginState::Get()->IsUserLoggedIn()) |