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

Unified Diff: trunk/src/ui/views/widget/desktop_aura/desktop_screen_position_client.cc

Issue 133003002: Revert 244005 "Remove SetHostSize/Bounds from RootWindow in favo..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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: trunk/src/ui/views/widget/desktop_aura/desktop_screen_position_client.cc
===================================================================
--- trunk/src/ui/views/widget/desktop_aura/desktop_screen_position_client.cc (revision 244032)
+++ trunk/src/ui/views/widget/desktop_aura/desktop_screen_position_client.cc (working copy)
@@ -89,7 +89,7 @@
DesktopNativeWidgetAura* desktop_native_widget =
DesktopNativeWidgetAura::ForWindow(window);
if (desktop_native_widget) {
- root->GetDispatcher()->host()->SetBounds(bounds);
+ root->GetDispatcher()->SetHostBounds(bounds);
// Setting bounds of root resizes |window|.
} else {
window->SetBounds(bounds);

Powered by Google App Engine
This is Rietveld 408576698