Changeset 161548 in webkit


Ignore:
Timestamp:
Jan 8, 2014 11:14:37 PM (10 years ago)
Author:
jinwoo7.song@samsung.com
Message:

WebKit2 EFL build fix after r161530
https://bugs.webkit.org/show_bug.cgi?id=126678

Reviewed by Tim Horton.

Add PLATFORM(MAC) guards around setExposedRect() and exposedRect()
in DrawingArea and WebFrameLoaderClient.

  • WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:

(WebKit::WebFrameLoaderClient::transitionToCommittedForNewPage):

  • WebProcess/WebPage/DrawingArea.h:
Location:
trunk/Source/WebKit2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r161542 r161548  
     12014-01-08  Jinwoo Song  <jinwoo7.song@samsung.com>
     2
     3        WebKit2 EFL build fix after r161530
     4        https://bugs.webkit.org/show_bug.cgi?id=126678
     5
     6        Reviewed by Tim Horton.
     7
     8        Add PLATFORM(MAC) guards around setExposedRect() and exposedRect()
     9        in DrawingArea and WebFrameLoaderClient.
     10
     11        * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
     12        (WebKit::WebFrameLoaderClient::transitionToCommittedForNewPage):
     13        * WebProcess/WebPage/DrawingArea.h:
     14
    1152014-01-08  Martin Hock  <mhock@apple.com>
    216
  • trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp

    r161530 r161548  
    12391239    m_frame->coreFrame()->view()->setProhibitsScrolling(shouldDisableScrolling);
    12401240    m_frame->coreFrame()->view()->setVisualUpdatesAllowedByClient(!webPage->shouldExtendIncrementalRenderingSuppression());
     1241#if PLATFORM(MAC)
    12411242    m_frame->coreFrame()->view()->setExposedRect(webPage->drawingArea()->exposedRect());
     1243#endif
    12421244#if PLATFORM(IOS)
    12431245    m_frame->coreFrame()->view()->setDelegatesScrolling(true);
  • trunk/Source/WebKit2/WebProcess/WebPage/DrawingArea.h

    r161530 r161548  
    8787    virtual void mainFrameContentSizeChanged(const WebCore::IntSize&) { }
    8888
     89#if PLATFORM(MAC)
    8990    virtual void setExposedRect(const WebCore::FloatRect&) = 0;
    9091    virtual WebCore::FloatRect exposedRect() const = 0;
     92#endif
    9193    virtual void mainFrameScrollabilityChanged(bool) { }
    9294
Note: See TracChangeset for help on using the changeset viewer.