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

Unified Diff: ash/wm/window_animations.cc

Issue 1608053002: Remove now-unnecessary wrappers around gfx::Screen::GetScreen() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-5
Patch Set: . Created 4 years, 11 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 fc1422470e2e513be8c55b8a9d4cc5b6f0cfb0bb..011ef815f95cb4aa2e1080bfa248ce8dce1c7cdd 100644
--- a/ash/wm/window_animations.cc
+++ b/ash/wm/window_animations.cc
@@ -493,7 +493,7 @@ gfx::Rect GetMinimizeAnimationTargetBoundsInScreen(aura::Window* window) {
// to the location of the application launcher (which is fixed as first item
// of the shelf).
gfx::Rect work_area =
- Shell::GetScreen()->GetDisplayNearestWindow(window).work_area();
+ gfx::Screen::GetScreen()->GetDisplayNearestWindow(window).work_area();
int ltr_adjusted_x = base::i18n::IsRTL() ? work_area.right() : work_area.x();
switch (layout_manager->GetAlignment()) {
case SHELF_ALIGNMENT_BOTTOM:

Powered by Google App Engine
This is Rietveld 408576698