summaryrefslogtreecommitdiffstats
path: root/views/controls/native
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-07 22:38:46 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-07 22:38:46 +0000
commit977a7405264468996361d424faeb861411ddb878 (patch)
treeeddc282338cf9d1d70fb0e62229893865758739c /views/controls/native
parentfa3bad0ccf9d0844b240efabc8e30e6f5e17d47f (diff)
downloadchromium_src-977a7405264468996361d424faeb861411ddb878.zip
chromium_src-977a7405264468996361d424faeb861411ddb878.tar.gz
chromium_src-977a7405264468996361d424faeb861411ddb878.tar.bz2
Reverts change to native_view_host_gtk. This fixes the bug, but isn't
the right fix. Current code is correct. BUG=31132 TEST=none TBR=oshima Review URL: http://codereview.chromium.org/523141 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35745 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/native')
-rw-r--r--views/controls/native/native_view_host_gtk.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/views/controls/native/native_view_host_gtk.cc b/views/controls/native/native_view_host_gtk.cc
index 6ebba2d..7c762bc 100644
--- a/views/controls/native/native_view_host_gtk.cc
+++ b/views/controls/native/native_view_host_gtk.cc
@@ -164,8 +164,6 @@ void NativeViewHostGtk::ShowWidget(int x, int y, int w, int h) {
// Size and place the hosted NativeView.
gtk_widget_set_size_request(host_->native_view(), child_w, child_h);
gtk_fixed_move(GTK_FIXED(fixed_), host_->native_view(), child_x, child_y);
- GtkAllocation alloc = { child_x, child_y, child_w, child_y};
- gtk_widget_size_allocate(host_->native_view(), &alloc);
gtk_widget_show(fixed_);
gtk_widget_show(host_->native_view());