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

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: cros 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
« no previous file with comments | « ash/shell/content/client/shell_browser_main_parts.cc ('k') | ash/system/audio/tray_audio.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « ash/shell/content/client/shell_browser_main_parts.cc ('k') | ash/system/audio/tray_audio.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698