Changeset 83473 in webkit


Ignore:
Timestamp:
Apr 11, 2011 12:14:10 PM (13 years ago)
Author:
alexis.menard@openbossa.org
Message:

2011-04-11 Alexis Menard <alexis.menard@openbossa.org>

Reviewed by Kenneth Rohde Christiansen.

[Qt] Sub-Frame content is not updated when scrolling in certain circumstances
https://bugs.webkit.org/show_bug.cgi?id=50373

Make sure that we invalidate the backing store when using TILED_BACKING_STORE
and the page contains sub frames. This bug appears only when frame flattening is
disabled and scrollable subframes.

Original patch from Thomas Thrainer.

  • WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::invalidateWindow):
Location:
trunk/Source/WebKit/qt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/qt/ChangeLog

    r83442 r83473  
     12011-04-11  Alexis Menard  <alexis.menard@openbossa.org>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        [Qt] Sub-Frame content is not updated when scrolling in certain circumstances
     6        https://bugs.webkit.org/show_bug.cgi?id=50373
     7
     8        Make sure that we invalidate the backing store when using TILED_BACKING_STORE
     9        and the page contains sub frames. This bug appears only when frame flattening is
     10        disabled and scrollable subframes.
     11
     12        Original patch from Thomas Thrainer.
     13
     14        * WebCoreSupport/ChromeClientQt.cpp:
     15        (WebCore::ChromeClientQt::invalidateWindow):
     16
    1172011-04-11  Benjamin Poulain  <benjamin.poulain@nokia.com>
    218
  • trunk/Source/WebKit/qt/WebCoreSupport/ChromeClientQt.cpp

    r83162 r83473  
    400400}
    401401
    402 void ChromeClientQt::invalidateWindow(const IntRect&, bool)
    403 {
    404     notImplemented();
     402void ChromeClientQt::invalidateWindow(const IntRect& windowRect, bool)
     403{
     404#if ENABLE(TILED_BACKING_STORE)
     405    if (platformPageClient()) {
     406        WebCore::TiledBackingStore* backingStore = QWebFramePrivate::core(m_webPage->mainFrame())->tiledBackingStore();
     407        if (!backingStore)
     408            return;
     409        backingStore->invalidate(windowRect);
     410    }
     411#else
     412    Q_UNUSED(windowRect);
     413#endif
    405414}
    406415
Note: See TracChangeset for help on using the changeset viewer.