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

Unified Diff: ash/common/system/chromeos/brightness/tray_brightness.cc

Issue 2766543002: Move even more from WmShell to Shell (Closed)
Patch Set: Created 3 years, 9 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
Index: ash/common/system/chromeos/brightness/tray_brightness.cc
diff --git a/ash/common/system/chromeos/brightness/tray_brightness.cc b/ash/common/system/chromeos/brightness/tray_brightness.cc
index 4a6cbdbc82f0cb2ee0800b4fb8a1c369441e3d80..f5c11fb13f224d6c48c4312ea4aee5a4f3ba9936 100644
--- a/ash/common/system/chromeos/brightness/tray_brightness.cc
+++ b/ash/common/system/chromeos/brightness/tray_brightness.cc
@@ -120,7 +120,7 @@ BrightnessView::BrightnessView(bool default_view, double initial_percent)
if (is_default_view_) {
Shell::GetInstance()->AddShellObserver(this);
- SetVisible(WmShell::Get()
+ SetVisible(Shell::Get()
->maximize_mode_controller()
->IsMaximizeModeWindowManagerEnabled());
} else {
« no previous file with comments | « ash/common/shelf/shelf_layout_manager.cc ('k') | ash/common/system/chromeos/brightness/tray_brightness_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698