Changeset 211367 in webkit


Ignore:
Timestamp:
Jan 30, 2017 8:53:09 AM (7 years ago)
Author:
magomez@igalia.com
Message:

[GTK] Scrolling iframes, doesn't redraw their content
https://bugs.webkit.org/show_bug.cgi?id=167581

Reviewed by Carlos Garcia Campos.

Take into account whether we are using AC or not in order to repaint an area after scrolling.

No behaviour change, no new tests.

  • WebProcess/WebCoreSupport/WebChromeClient.cpp:

(WebKit::WebChromeClient::invalidateContentsForSlowScroll):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r211366 r211367  
     12017-01-30  Miguel Gomez  <magomez@igalia.com>
     2
     3        [GTK] Scrolling iframes, doesn't redraw their content
     4        https://bugs.webkit.org/show_bug.cgi?id=167581
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        Take into account whether we are using AC or not in order to repaint an area after scrolling.
     9
     10        No behaviour change, no new tests.
     11
     12        * WebProcess/WebCoreSupport/WebChromeClient.cpp:
     13        (WebKit::WebChromeClient::invalidateContentsForSlowScroll):
     14
    1152017-01-30  Carlos Garcia Campos  <cgarcia@igalia.com>
    216
  • trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.cpp

    r211312 r211367  
    511511    m_page.pageDidScroll();
    512512#if USE(COORDINATED_GRAPHICS)
    513     m_page.drawingArea()->scroll(rect, IntSize());
    514 #else
     513    FrameView* frameView = m_page.mainFrame()->view();
     514    if (frameView && frameView->delegatesScrolling()) {
     515        m_page.drawingArea()->scroll(rect, IntSize());
     516        return;
     517    }
     518#endif
    515519    m_page.drawingArea()->setNeedsDisplayInRect(rect);
    516 #endif
    517520}
    518521
Note: See TracChangeset for help on using the changeset viewer.