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

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

Issue 2741273002: chromeos: Promotes more from WmShell to Shell (Closed)
Patch Set: cleanup 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/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..bd38914ab37cbb248c6e72d723f6f9677b37342f 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()->delegate();
delegate->SetTouchscreenEnabledInPrefs(!forced_off,
true /* use_local_state */);
delegate->UpdateTouchscreenStatusFromPrefs();

Powered by Google App Engine
This is Rietveld 408576698