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

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

Issue 2738133003: Promotes a handful of members from WmShell to Shell (Closed)
Patch Set: forward declare 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 519962461c38c227ed4bb1bc6873bc4f6a099ad6..fcdf81b5d557853662693e3212618d94b0fb1d1f 100644
--- a/ash/system/chromeos/power/tablet_power_button_controller.cc
+++ b/ash/system/chromeos/power/tablet_power_button_controller.cc
@@ -222,7 +222,7 @@ void TabletPowerButtonController::SetDisplayForcedOff(bool forced_off) {
delegate->UpdateTouchscreenStatusFromPrefs();
// Send an a11y alert.
- WmShell::Get()->accessibility_delegate()->TriggerAccessibilityAlert(
+ Shell::GetInstance()->accessibility_delegate()->TriggerAccessibilityAlert(
forced_off ? A11Y_ALERT_SCREEN_OFF : A11Y_ALERT_SCREEN_ON);
}

Powered by Google App Engine
This is Rietveld 408576698