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

Unified Diff: views/widget/native_widget_gtk.cc

Issue 7059017: Fix paint flashing when switching tabs on ChromeOS. It seems like this hidden tab host window isn... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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 | « chrome/browser/ui/views/tab_contents/native_tab_contents_view_gtk.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/native_widget_gtk.cc
===================================================================
--- views/widget/native_widget_gtk.cc (revision 86286)
+++ views/widget/native_widget_gtk.cc (working copy)
@@ -897,8 +897,6 @@
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 {
« no previous file with comments | « chrome/browser/ui/views/tab_contents/native_tab_contents_view_gtk.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698