From 088e6a3814c7de976650e8ad2b5cb075656d8665 Mon Sep 17 00:00:00 2001 From: "ben@chromium.org" Date: Mon, 23 May 2011 19:08:17 +0000 Subject: 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 --- views/widget/native_widget_gtk.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'views') 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 { -- cgit v1.1