summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrjkroege@google.com <rjkroege@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-04 17:28:37 +0000
committerrjkroege@google.com <rjkroege@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-04 17:28:37 +0000
commita1b99ebf12b47406407e50ced6f28130dfa753fe (patch)
tree1c43a13d4bac4d18f02994a9a56b3f9424feda09
parent9b0ef8e19d6777eaaef052f804cb8c5df9025995 (diff)
downloadchromium_src-a1b99ebf12b47406407e50ced6f28130dfa753fe.zip
chromium_src-a1b99ebf12b47406407e50ced6f28130dfa753fe.tar.gz
chromium_src-a1b99ebf12b47406407e50ced6f28130dfa753fe.tar.bz2
Minor fix for bounds related bug in RWHVV.
BUG=None TEST=None Review URL: http://codereview.chromium.org/4303002 Patch from Varun Jain <varunjain@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65071 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/renderer_host/render_widget_host_view_views.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/renderer_host/render_widget_host_view_views.cc b/chrome/browser/renderer_host/render_widget_host_view_views.cc
index c9e53da..93b795b 100644
--- a/chrome/browser/renderer_host/render_widget_host_view_views.cc
+++ b/chrome/browser/renderer_host/render_widget_host_view_views.cc
@@ -131,7 +131,7 @@ void RenderWidgetHostViewViews::SetSize(const gfx::Size& size) {
if (requested_size_.width() != width ||
requested_size_.height() != height) {
requested_size_ = gfx::Size(width, height);
- SetBounds(GetViewBounds());
+ SetBounds(x(), y(), requested_size_.width(), requested_size_.height());
host_->WasResized();
}
}