diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-01 22:49:11 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-01 22:49:11 +0000 |
commit | 3cc2c16b7b0caabb2f7e5a72ac72ea8a693f630d (patch) | |
tree | 7f9f5a186dfb741ad75f835e869a4eab2ad60abd | |
parent | 20183baf48a3c48f3691e10b74bd9f476c6b5f31 (diff) | |
download | chromium_src-3cc2c16b7b0caabb2f7e5a72ac72ea8a693f630d.zip chromium_src-3cc2c16b7b0caabb2f7e5a72ac72ea8a693f630d.tar.gz chromium_src-3cc2c16b7b0caabb2f7e5a72ac72ea8a693f630d.tar.bz2 |
Merge 33461 - Fix a bug where not all autocomplete entries were being shown when
the popup got resized smaller.
To repro:
go to the chrome issue tracker (crbug.com)
search for "aaaa" and "aaa"
clear the search field and paste "aaaa" into the box
press backspace
At this point, you should see both autocomplete suggestions.
BUG=29042
Review URL: http://codereview.chromium.org/457024
TBR=tony@chromium.org
Review URL: http://codereview.chromium.org/450042
git-svn-id: svn://svn.chromium.org/chrome/branches/249/src@33495 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/renderer_host/render_widget_host_view_gtk.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/renderer_host/render_widget_host_view_gtk.cc b/chrome/browser/renderer_host/render_widget_host_view_gtk.cc index f91a18c..d85ebd9 100644 --- a/chrome/browser/renderer_host/render_widget_host_view_gtk.cc +++ b/chrome/browser/renderer_host/render_widget_host_view_gtk.cc @@ -424,12 +424,12 @@ void RenderWidgetHostViewGtk::SetSize(const gfx::Size& size) { // children. gtk_widget_set_size_request(view_.get(), width, height); #endif - - if (requested_size_.width() != width || - requested_size_.height() != height) { - requested_size_ = gfx::Size(width, height); - host_->WasResized(); - } + } + // Update the size of the RWH. + if (requested_size_.width() != width || + requested_size_.height() != height) { + requested_size_ = gfx::Size(width, height); + host_->WasResized(); } } |