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

Unified Diff: ash/shell/toplevel_window.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/shell/toplevel_window.cc
diff --git a/ash/shell/toplevel_window.cc b/ash/shell/toplevel_window.cc
index ef28e5d071bd0b58630f07391b76815ddad29619..61c7daf48a7d9042c132ee6a28b8f015d47e4333 100644
--- a/ash/shell/toplevel_window.cc
+++ b/ash/shell/toplevel_window.cc
@@ -84,11 +84,7 @@ bool ToplevelWindow::GetSavedWindowPlacement(
bounds->SetRect(10, 150, 300, 300);
}
ash::WindowPositioner::GetBoundsAndShowStateForNewWindow(
- ash::Shell::GetScreen(),
- NULL,
- is_saved_bounds,
- *show_state,
- bounds,
+ gfx::Screen::GetScreen(), NULL, is_saved_bounds, *show_state, bounds,
show_state);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698