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

Unified Diff: trunk/src/content/shell/browser/shell_views.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
« no previous file with comments | « trunk/src/content/shell/browser/shell_aura.cc ('k') | trunk/src/ui/aura/root_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/content/shell/browser/shell_views.cc
===================================================================
--- trunk/src/content/shell/browser/shell_views.cc (revision 244032)
+++ trunk/src/content/shell/browser/shell_views.cc (working copy)
@@ -101,7 +101,8 @@
// Resizing a widget on chromeos doesn't automatically resize the root, need
// to explicitly do that.
#if defined(OS_CHROMEOS)
- GetWidget()->GetNativeWindow()->GetDispatcher()->host()->SetBounds(bounds);
+ GetWidget()->GetNativeWindow()->GetDispatcher()->SetHostSize(
+ bounds.size());
#endif
}
« no previous file with comments | « trunk/src/content/shell/browser/shell_aura.cc ('k') | trunk/src/ui/aura/root_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698