Index: ash/wm/boot_splash_screen_chromeos.cc |
diff --git a/ash/wm/boot_splash_screen_chromeos.cc b/ash/wm/boot_splash_screen_chromeos.cc |
index 8c2fda3f359952cf3705db1242330e5e5e76ffa9..b3ad599980af4c8cc8b016d6015937910971dbb1 100644 |
--- a/ash/wm/boot_splash_screen_chromeos.cc |
+++ b/ash/wm/boot_splash_screen_chromeos.cc |
@@ -24,7 +24,10 @@ class BootSplashScreen::CopyHostContentLayerDelegate |
: public ui::LayerDelegate { |
public: |
explicit CopyHostContentLayerDelegate(aura::WindowTreeHost* host) |
- : host_(host) { |
+#if defined(USE_X11) |
+ : host_(host) |
+#endif |
+ { |
} |
~CopyHostContentLayerDelegate() override {} |
@@ -57,7 +60,9 @@ class BootSplashScreen::CopyHostContentLayerDelegate |
} |
private: |
+#if defined(USE_X11) |
aura::WindowTreeHost* host_; // not owned |
+#endif |
DISALLOW_COPY_AND_ASSIGN(CopyHostContentLayerDelegate); |
}; |