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

Unified Diff: trunk/src/content/shell/browser/shell_aura.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/content/shell/browser/shell_aura.cc
===================================================================
--- trunk/src/content/shell/browser/shell_aura.cc (revision 244032)
+++ trunk/src/content/shell/browser/shell_aura.cc (working copy)
@@ -147,7 +147,7 @@
}
void ShellAuraPlatformData::ResizeWindow(int width, int height) {
- root_window_->host()->SetBounds(gfx::Rect(width, height));
+ root_window_->SetHostSize(gfx::Size(width, height));
}
// static

Powered by Google App Engine
This is Rietveld 408576698