Changeset 55378 in webkit
- Timestamp:
- Mar 1, 2010 2:07:45 PM (14 years ago)
- Location:
- trunk/WebKit/gtk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/gtk/ChangeLog
r55316 r55378 1 2010-03-01 Kalle Vahlman <zuh@iki.fi> 2 3 Reviewed by Gustavo Noronha Silva. 4 5 Queue a resize when either of the content dimensions change 6 https://bugs.webkit.org/show_bug.cgi?id=35489 7 8 The check for size changes only queued a resize if both of the content 9 dimensions change, leaving the widget size out-of-sync if eg. only the 10 width changes. 11 12 * WebCoreSupport/ChromeClientGtk.cpp: 13 1 14 2009-12-04 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> 2 15 -
trunk/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp
r55298 r55378 430 430 // otherwise we get into an infinite loop! 431 431 GtkWidget* widget = GTK_WIDGET(m_webView); 432 if (GTK_WIDGET_REALIZED(widget) &&433 (widget->requisition.height != size.height()) &&434 (widget->requisition.width != size.width()))432 if (GTK_WIDGET_REALIZED(widget) 433 && (widget->requisition.height != size.height()) 434 || (widget->requisition.width != size.width())) 435 435 gtk_widget_queue_resize_no_redraw(widget); 436 436 }
Note: See TracChangeset
for help on using the changeset viewer.