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

Unified Diff: chrome/browser/chromeos/accessibility/chromevox_panel.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/chromevox_panel.cc
diff --git a/chrome/browser/chromeos/accessibility/chromevox_panel.cc b/chrome/browser/chromeos/accessibility/chromevox_panel.cc
index dc5be1dee8d048c61ea76aa296c97d24b631fcac..930de8f04352b659c49dcc97a53a0a6d03239bc2 100644
--- a/chrome/browser/chromeos/accessibility/chromevox_panel.cc
+++ b/chrome/browser/chromeos/accessibility/chromevox_panel.cc
@@ -132,8 +132,7 @@ void ChromeVoxPanel::DidFirstVisuallyNonEmptyPaint() {
}
void ChromeVoxPanel::UpdatePanelHeight() {
- ash::WmShelf* shelf =
- ash::WmShelf::ForWindow(ash::WmWindow::Get(GetRootWindow()));
+ ash::WmShelf* shelf = ash::WmShelf::ForWindow(GetRootWindow());
if (!shelf->IsShelfInitialized())
return;

Powered by Google App Engine
This is Rietveld 408576698