Changeset 202773 in webkit


Ignore:
Timestamp:
Jul 1, 2016 8:03:25 PM (8 years ago)
Author:
Hunseop Jeong
Message:

[EFL] Many layout tests are timeout after r202532.
https://bugs.webkit.org/show_bug.cgi?id=159337

Reviewed by Gyuyoung Kim.

WebPageProxy::forceRepaint() wait for the next commit from the web process
after r202532, but WebPageProxy::callAfterNextPresentationUpdate() is not
implemented in CoordinatedDrawingAreaProxy.

  • UIProcess/CoordinatedGraphics/CoordinatedDrawingAreaProxy.cpp:

(WebKit::CoordinatedDrawingAreaProxy::contentsRect):
(WebKit::CoordinatedDrawingAreaProxy::dispatchAfterEnsuringDrawing):
(WebKit::CoordinatedDrawingAreaProxy::sizeDidChange):

  • UIProcess/CoordinatedGraphics/CoordinatedDrawingAreaProxy.h:

(WebKit::CoordinatedDrawingAreaProxy::page):

Location:
trunk/Source/WebKit2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r202772 r202773  
     12016-07-01  Hunseop Jeong  <hs85.jeong@samsung.com>
     2
     3        [EFL] Many layout tests are timeout after r202532.
     4        https://bugs.webkit.org/show_bug.cgi?id=159337
     5
     6        Reviewed by Gyuyoung Kim.
     7
     8        WebPageProxy::forceRepaint() wait for the next commit from the web process
     9        after r202532, but WebPageProxy::callAfterNextPresentationUpdate() is not
     10        implemented in CoordinatedDrawingAreaProxy.
     11
     12        * UIProcess/CoordinatedGraphics/CoordinatedDrawingAreaProxy.cpp:
     13        (WebKit::CoordinatedDrawingAreaProxy::contentsRect):
     14        (WebKit::CoordinatedDrawingAreaProxy::dispatchAfterEnsuringDrawing):
     15        (WebKit::CoordinatedDrawingAreaProxy::sizeDidChange):
     16        * UIProcess/CoordinatedGraphics/CoordinatedDrawingAreaProxy.h:
     17        (WebKit::CoordinatedDrawingAreaProxy::page):
     18
    1192016-07-01  Myles C. Maxfield  <mmaxfield@apple.com>
    220
  • trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/CoordinatedDrawingAreaProxy.cpp

    r193843 r202773  
    7373}
    7474
     75void CoordinatedDrawingAreaProxy::dispatchAfterEnsuringDrawing(std::function<void(CallbackBase::Error)> callbackFunction)
     76{
     77    if (!m_webPageProxy.isValid()) {
     78        callbackFunction(CallbackBase::Error::OwnerWasInvalidated);
     79        return;
     80    }
     81
     82    RunLoop::main().dispatch([callbackFunction] {
     83        callbackFunction(CallbackBase::Error::None);
     84    });
     85}
     86
    7587void CoordinatedDrawingAreaProxy::sizeDidChange()
    7688{
  • trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/CoordinatedDrawingAreaProxy.h

    r193811 r202773  
    6262
    6363    WebPageProxy& page() { return m_webPageProxy; }
     64   
     65    void dispatchAfterEnsuringDrawing(std::function<void(CallbackBase::Error)>) override;
     66
    6467private:
    6568    // DrawingAreaProxy
Note: See TracChangeset for help on using the changeset viewer.