From 977a7405264468996361d424faeb861411ddb878 Mon Sep 17 00:00:00 2001 From: "sky@chromium.org" Date: Thu, 7 Jan 2010 22:38:46 +0000 Subject: 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 --- views/controls/native/native_view_host_gtk.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'views/controls') 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()); -- cgit v1.1