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

Unified Diff: chrome/browser/ui/window_sizer/window_sizer_ash.cc

Issue 10795013: Rename bounds accessors to be intuitive and consistent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 5 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: chrome/browser/ui/window_sizer/window_sizer_ash.cc
diff --git a/chrome/browser/ui/window_sizer/window_sizer_ash.cc b/chrome/browser/ui/window_sizer/window_sizer_ash.cc
index 8e5ef9670e9c411721f18ae8fc0372ea81fbf2ce..3089d69a4961c8a6a4fb7e57119e6be8dff33e80 100644
--- a/chrome/browser/ui/window_sizer/window_sizer_ash.cc
+++ b/chrome/browser/ui/window_sizer/window_sizer_ash.cc
@@ -84,7 +84,7 @@ bool WindowSizer::GetBoundsIgnoringPreviousStateAsh(
if (top_window == NULL) {
GetDefaultWindowBounds(bounds);
} else {
- *bounds = top_window->GetRootWindowBounds();
+ *bounds = top_window->GetBoundsInRootWindow();
gfx::Rect work_area =
monitor_info_provider_->GetMonitorWorkAreaMatching(*bounds);
*bounds = bounds->AdjustToFit(work_area);
« no previous file with comments | « chrome/browser/ui/views/web_dialog_view_browsertest.cc ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698