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

Unified Diff: ash/shell/toplevel_window.cc

Issue 1900443002: Removes aura dependencies from WindowPositioner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nuke GetWorkAreaForWindowInParent and fix windows Created 4 years, 8 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/shell/window_type_launcher.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 09fbb5d9cd2085762308c6face590ba11afa4f83..6af929e0e7124413f1fc7f4d08e3dd471ef6deff 100644
--- a/ash/shell/toplevel_window.cc
+++ b/ash/shell/toplevel_window.cc
@@ -84,9 +84,8 @@ bool ToplevelWindow::GetSavedWindowPlacement(
// Initial default bounds.
bounds->SetRect(10, 150, 300, 300);
}
- ash::WindowPositioner::GetBoundsAndShowStateForNewWindow(
- gfx::Screen::GetScreen(), NULL, is_saved_bounds, *show_state, bounds,
- show_state);
+ WindowPositioner::GetBoundsAndShowStateForNewWindow(
+ nullptr, 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/shell/window_type_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698