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

Unified Diff: ash/system/chromeos/power/tablet_power_button_controller.cc

Issue 2741273002: chromeos: Promotes more from WmShell to Shell (Closed)
Patch Set: feedback 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
« no previous file with comments | « ash/shell.cc ('k') | ash/system/chromeos/power/tablet_power_button_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/chromeos/power/tablet_power_button_controller.cc
diff --git a/ash/system/chromeos/power/tablet_power_button_controller.cc b/ash/system/chromeos/power/tablet_power_button_controller.cc
index fcdf81b5d557853662693e3212618d94b0fb1d1f..9020e8af9168128b55ce4010f4d8def8dec78768 100644
--- a/ash/system/chromeos/power/tablet_power_button_controller.cc
+++ b/ash/system/chromeos/power/tablet_power_button_controller.cc
@@ -216,7 +216,7 @@ void TabletPowerButtonController::SetDisplayForcedOff(bool forced_off) {
->SetBacklightsForcedOff(forced_off);
backlights_forced_off_ = forced_off;
- ShellDelegate* delegate = WmShell::Get()->delegate();
+ ShellDelegate* delegate = Shell::Get()->shell_delegate();
delegate->SetTouchscreenEnabledInPrefs(!forced_off,
true /* use_local_state */);
delegate->UpdateTouchscreenStatusFromPrefs();
« no previous file with comments | « ash/shell.cc ('k') | ash/system/chromeos/power/tablet_power_button_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698