Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Unified Diff: ash/wm/boot_splash_screen_chromeos.cc

Issue 1995983002: Fix "unused variable" warnings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/android/trace_event_binding.cc » ('j') | gpu/command_buffer/service/program_manager.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « no previous file | base/android/trace_event_binding.cc » ('j') | gpu/command_buffer/service/program_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698