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

Unified Diff: ash/accelerators/accelerator_controller.cc

Issue 2115663002: Folds methods in WmShellCommon to WmShell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar Created 4 years, 6 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/accelerators/accelerator_controller.cc
diff --git a/ash/accelerators/accelerator_controller.cc b/ash/accelerators/accelerator_controller.cc
index 306618727487e2947edd05b4685aae9c3a10a4be..58423dbb8972122f4c2c6fef657023771609e723 100644
--- a/ash/accelerators/accelerator_controller.cc
+++ b/ash/accelerators/accelerator_controller.cc
@@ -1430,7 +1430,7 @@ AcceleratorController::GetAcceleratorProcessingRestriction(int action) {
// cycling through its window elements.
return RESTRICTION_PREVENT_PROCESSING_AND_PROPAGATION;
}
- if (shell->mru_window_tracker()->BuildMruWindowList().empty() &&
+ if (wm_shell->mru_window_tracker()->BuildMruWindowList().empty() &&
actions_needing_window_.find(action) != actions_needing_window_.end()) {
wm_shell->GetAccessibilityDelegate()->TriggerAccessibilityAlert(
A11Y_ALERT_WINDOW_NEEDED);
« no previous file with comments | « ash/accelerators/accelerator_commands.cc ('k') | ash/ash.gyp » ('j') | ash/aura/wm_shell_aura.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698