Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(437)

Unified Diff: views/controls/native/native_view_host_gtk.cc

Issue 523141: Reverts change to native_view_host_gtk. This fixes the bug, but isn't... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/native/native_view_host_gtk.cc
===================================================================
--- views/controls/native/native_view_host_gtk.cc (revision 35719)
+++ views/controls/native/native_view_host_gtk.cc (working copy)
@@ -164,8 +164,6 @@
// 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());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698