diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-06 19:52:33 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-06 19:52:33 +0000 |
commit | 2fd94bbeefa87a83a96c65ff998add7d7fb0f908 (patch) | |
tree | 2290c82812cd5079307ca8488f0f6fafd2a63dca /chrome/browser/gtk/extension_view_gtk.cc | |
parent | 2bda2f0dc0025aee1109545c6f0f06068dd8961d (diff) | |
download | chromium_src-2fd94bbeefa87a83a96c65ff998add7d7fb0f908.zip chromium_src-2fd94bbeefa87a83a96c65ff998add7d7fb0f908.tar.gz chromium_src-2fd94bbeefa87a83a96c65ff998add7d7fb0f908.tar.bz2 |
Another regression from r31031: Fix RWHV sizing in extension popups.
Without this call, the RWH didn't actually change size and was
always 0x0.
BUG=26927
Review URL: http://codereview.chromium.org/376011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31268 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/extension_view_gtk.cc')
-rw-r--r-- | chrome/browser/gtk/extension_view_gtk.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/gtk/extension_view_gtk.cc b/chrome/browser/gtk/extension_view_gtk.cc index fbb8bf0..691ce54 100644 --- a/chrome/browser/gtk/extension_view_gtk.cc +++ b/chrome/browser/gtk/extension_view_gtk.cc @@ -40,6 +40,7 @@ void ExtensionViewGtk::UpdatePreferredSize(const gfx::Size& new_size) { // If we are showing in a shelf, then the shelf sets our height. int height = is_toolstrip() ? -1 : new_size.height(); + render_widget_host_view_->SetSize(gfx::Size(new_size.width(), height)); gtk_widget_set_size_request(native_view(), new_size.width(), height); } |