summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-23 21:59:56 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-23 21:59:56 +0000
commita11d97c92eb877b79d643295cbf85be5e6648fce (patch)
tree30493e30e11ee1b27cfa04d3e37e4acf2b52b9ca
parentcd22438b18435688d5c48e0f82bbbe056a168177 (diff)
downloadchromium_src-a11d97c92eb877b79d643295cbf85be5e6648fce.zip
chromium_src-a11d97c92eb877b79d643295cbf85be5e6648fce.tar.gz
chromium_src-a11d97c92eb877b79d643295cbf85be5e6648fce.tar.bz2
Fix bug introduced by my clipping changes - when you switched tabs the tab area would blank out - we weren't showing the NativeView in calls to ShowWidget, only the fixed.
BUG=none TEST=none Review URL: http://codereview.chromium.org/160049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21452 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--views/controls/native/native_view_host_gtk.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/views/controls/native/native_view_host_gtk.cc b/views/controls/native/native_view_host_gtk.cc
index 8e566c6..6143113 100644
--- a/views/controls/native/native_view_host_gtk.cc
+++ b/views/controls/native/native_view_host_gtk.cc
@@ -141,6 +141,7 @@ void NativeViewHostGtk::ShowWidget(int x, int y, int w, int h) {
gtk_fixed_move(GTK_FIXED(fixed_), host_->native_view(), child_x, child_y);
gtk_widget_show(fixed_);
+ gtk_widget_show(host_->native_view());
}
void NativeViewHostGtk::HideWidget() {