diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-23 19:08:17 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-23 19:08:17 +0000 |
commit | 088e6a3814c7de976650e8ad2b5cb075656d8665 (patch) | |
tree | a497d84665b80654395510d7f9634d02c31cc32c /views | |
parent | 68c51ad5dd7a93413ba8cb54c97005c0072163f2 (diff) | |
download | chromium_src-088e6a3814c7de976650e8ad2b5cb075656d8665.zip chromium_src-088e6a3814c7de976650e8ad2b5cb075656d8665.tar.gz chromium_src-088e6a3814c7de976650e8ad2b5cb075656d8665.tar.bz2 |
Fix paint flashing when switching tabs on ChromeOS. It seems like this hidden tab host window isn't necessary... it was previously. Anyway, this fixes the flashing.
BUG=chromium-os:15507
TEST=see bug
Review URL: http://codereview.chromium.org/7059017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86317 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r-- | views/widget/native_widget_gtk.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/views/widget/native_widget_gtk.cc b/views/widget/native_widget_gtk.cc index ba3364c..a838b64 100644 --- a/views/widget/native_widget_gtk.cc +++ b/views/widget/native_widget_gtk.cc @@ -897,8 +897,6 @@ void NativeWidgetGtk::SetSize(const gfx::Size& size) { if (GTK_IS_VIEWS_FIXED(parent)) { gtk_views_fixed_set_widget_size(widget_, size.width(), size.height()); } else { - DCHECK(GTK_IS_FIXED(parent)) - << "Parent of NativeWidgetGtk has to be Fixed or ViewsFixed"; gtk_widget_set_size_request(widget_, size.width(), size.height()); } } else { |