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

Unified Diff: chrome/browser/chromeos/accessibility/accessibility_manager.cc

Issue 2886253002: mash: remove more shell/shelf WmWindow usage. (Closed)
Patch Set: Sync and rebase. Created 3 years, 7 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: chrome/browser/chromeos/accessibility/accessibility_manager.cc
diff --git a/chrome/browser/chromeos/accessibility/accessibility_manager.cc b/chrome/browser/chromeos/accessibility/accessibility_manager.cc
index 954dcef2caac2ba5d1c317430caa0da04b6b89f1..848e6219d27118d4c5d9c39dc28f702865193f6d 100644
--- a/chrome/browser/chromeos/accessibility/accessibility_manager.cc
+++ b/chrome/browser/chromeos/accessibility/accessibility_manager.cc
@@ -1516,8 +1516,7 @@ void AccessibilityManager::OnChromeVoxPanelClosing() {
chromevox_panel_widget_observer_.reset(nullptr);
chromevox_panel_ = nullptr;
- ash::WmShelf* shelf =
- ash::WmShelf::ForWindow(ash::WmWindow::Get(root_window));
+ ash::WmShelf* shelf = ash::WmShelf::ForWindow(root_window);
if (!shelf->IsShelfInitialized())
return;

Powered by Google App Engine
This is Rietveld 408576698