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

Unified Diff: ash/wm/window_animations.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: ash/wm/window_animations.cc
diff --git a/ash/wm/window_animations.cc b/ash/wm/window_animations.cc
index 95d75013c6c36aa8fe6210149a57a305d0424b43..323eb9dd4386a807bfe8f7a89040b135010c7ae9 100644
--- a/ash/wm/window_animations.cc
+++ b/ash/wm/window_animations.cc
@@ -433,7 +433,7 @@ CreateBrightnessGrayscaleAnimationSequence(float target_value,
gfx::Rect GetMinimizeAnimationTargetBoundsInScreen(aura::Window* window) {
WmWindow* wm_window = WmWindow::Get(window);
- WmShelf* shelf = WmShelf::ForWindow(wm_window);
+ WmShelf* shelf = WmShelf::ForWindow(window);
gfx::Rect item_rect = shelf->GetScreenBoundsOfItemIconForWindow(wm_window);
// The launcher item is visible and has an icon.

Powered by Google App Engine
This is Rietveld 408576698