Changeset 163526 in webkit


Ignore:
Timestamp:
Feb 6, 2014 1:01:29 AM (10 years ago)
Author:
Csaba Osztrogonác
Message:

Fix the build after r163516 for !ENABLE(ASYNC_SCROLLING) platforms
https://bugs.webkit.org/show_bug.cgi?id=128299

Reviewed by Antti Koivisto.

  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::handleTouchEvent):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r163524 r163526  
     12014-02-06  Csaba Osztrogonác  <ossy@webkit.org>
     2
     3        Fix the build after r163516 for !ENABLE(ASYNC_SCROLLING) platforms
     4        https://bugs.webkit.org/show_bug.cgi?id=128299
     5
     6        Reviewed by Antti Koivisto.
     7
     8        * UIProcess/WebPageProxy.cpp:
     9        (WebKit::WebPageProxy::handleTouchEvent):
     10
    1112014-02-05  Gavin Barraclough  <barraclough@apple.com>
    212
  • trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp

    r163516 r163526  
    13741374
    13751375#if ENABLE(TOUCH_EVENTS)
     1376#if ENABLE(ASYNC_SCROLLING)
    13761377static bool anyTouchIsInNonFastScrollableRegion(RemoteScrollingCoordinatorProxy& scrollingCoordinator, const WebTouchEvent& event)
    13771378{
     
    13831384    return false;
    13841385}
     1386#endif // ENABLE(ASYNC_SCROLLING)
    13851387
    13861388void WebPageProxy::handleTouchEvent(const NativeWebTouchEvent& event)
     
    13931395    // we do not send any of the events to the page even if is has listeners.
    13941396    if (!m_isPageSuspended) {
     1397
     1398#if ENABLE(ASYNC_SCROLLING)
    13951399        // FIXME: we should only do this check for the start of a touch gesture.
    13961400        if (!anyTouchIsInNonFastScrollableRegion(*m_scrollingCoordinatorProxy, event))
    13971401            return;
     1402#endif
    13981403
    13991404        m_touchEventQueue.append(event);
     
    14171422    }
    14181423}
    1419 #endif
     1424#endif // ENABLE(TOUCH_EVENTS)
    14201425
    14211426void WebPageProxy::scrollBy(ScrollDirection direction, ScrollGranularity granularity)
Note: See TracChangeset for help on using the changeset viewer.