Changeset 55378 in webkit


Ignore:
Timestamp:
Mar 1, 2010 2:07:45 PM (14 years ago)
Author:
eric@webkit.org
Message:

2010-03-01 Kalle Vahlman <zuh@iki.fi>

Reviewed by Gustavo Noronha Silva.

Queue a resize when either of the content dimensions change
https://bugs.webkit.org/show_bug.cgi?id=35489

The check for size changes only queued a resize if both of the content
dimensions change, leaving the widget size out-of-sync if eg. only the
width changes.

  • WebCoreSupport/ChromeClientGtk.cpp:
Location:
trunk/WebKit/gtk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/gtk/ChangeLog

    r55316 r55378  
     12010-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
    1142009-12-04  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
    215
  • trunk/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp

    r55298 r55378  
    430430    // otherwise we get into an infinite loop!
    431431    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()))
    435435        gtk_widget_queue_resize_no_redraw(widget);
    436436}
Note: See TracChangeset for help on using the changeset viewer.