Changeset 106249 in webkit


Ignore:
Timestamp:
Jan 30, 2012 9:19:26 AM (12 years ago)
Author:
abecsi@webkit.org
Message:

[Qt][WK2] Render layers do not get flushed when the scroll animation finishes
https://bugs.webkit.org/show_bug.cgi?id=77338

Reviewed by Noam Rosenthal.

Schedule a layer flush when setting the visible content rect and scale.

Fixed with the help of Jocelyn Turcotte <jocelyn.turcotte@nokia.com>

  • WebProcess/WebPage/qt/LayerTreeHostQt.cpp:

(WebKit::LayerTreeHostQt::setVisibleContentRectAndScale):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r106240 r106249  
     12012-01-30  Andras Becsi  <andras.becsi@nokia.com>
     2
     3        [Qt][WK2] Render layers do not get flushed when the scroll animation finishes
     4        https://bugs.webkit.org/show_bug.cgi?id=77338
     5
     6        Reviewed by Noam Rosenthal.
     7
     8        Schedule a layer flush when setting the visible content rect and scale.
     9
     10        Fixed with the help of Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
     11
     12        * WebProcess/WebPage/qt/LayerTreeHostQt.cpp:
     13        (WebKit::LayerTreeHostQt::setVisibleContentRectAndScale):
     14
    1152012-01-30  Carlos Garcia Campos  <cgarcia@igalia.com>
    216
  • trunk/Source/WebKit2/WebProcess/WebPage/qt/LayerTreeHostQt.cpp

    r105762 r106249  
    404404void LayerTreeHostQt::setVisibleContentRectAndScale(const IntRect& rect, float scale)
    405405{
    406     if (m_rootLayer)
     406    if (m_rootLayer) {
    407407        toWebGraphicsLayer(m_rootLayer.get())->setVisibleContentRectAndScale(rect, scale);
     408        scheduleLayerFlush();
     409    }
    408410}
    409411
Note: See TracChangeset for help on using the changeset viewer.