summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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());