Fix the EFL build after r183595
authorgyuyoung.kim@webkit.org <gyuyoung.kim@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 30 Apr 2015 02:44:22 +0000 (02:44 +0000)
committergyuyoung.kim@webkit.org <gyuyoung.kim@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 30 Apr 2015 02:44:22 +0000 (02:44 +0000)
https://bugs.webkit.org/show_bug.cgi?id=144427

Patch by Hunseop Jeong <hs85.jeong@samsung.com> on 2015-04-29
Reviewed by Gyuyoung Kim.

updateWheelEventTestTriggersIfNeeded() is guarded by #if ENABLE(CSS_SCROLL_SNAP) || ENABLE(RUBBER_BANDING).

* WebProcess/WebPage/EventDispatcher.cpp:
(WebKit::updateWheelEventTestTriggersIfNeeded):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@183605 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/WebProcess/WebPage/EventDispatcher.cpp

index 9252dae..52b9e9c 100644 (file)
@@ -1,3 +1,15 @@
+2015-04-29  Hunseop Jeong  <hs85.jeong@samsung.com>
+
+        Fix the EFL build after r183595
+        https://bugs.webkit.org/show_bug.cgi?id=144427
+
+        Reviewed by Gyuyoung Kim.
+
+        updateWheelEventTestTriggersIfNeeded() is guarded by #if ENABLE(CSS_SCROLL_SNAP) || ENABLE(RUBBER_BANDING).
+
+        * WebProcess/WebPage/EventDispatcher.cpp:
+        (WebKit::updateWheelEventTestTriggersIfNeeded):
+
 2015-04-29  Brent Fulgham  <bfulgham@apple.com>
 
         Expand test infrastructure to support scrolling tests
index b2c9d89..f7aa902 100644 (file)
@@ -88,6 +88,7 @@ void EventDispatcher::initializeConnection(IPC::Connection* connection)
     connection->addWorkQueueMessageReceiver(Messages::EventDispatcher::messageReceiverName(), &m_queue.get(), this);
 }
 
+#if ENABLE(CSS_SCROLL_SNAP) || ENABLE(RUBBER_BANDING)
 static void updateWheelEventTestTriggersIfNeeded(uint64_t pageID)
 {
     WebPage* webPage = WebProcess::singleton().webPage(pageID);
@@ -98,6 +99,7 @@ static void updateWheelEventTestTriggersIfNeeded(uint64_t pageID)
 
     page->testTrigger()->deferTestsForReason(reinterpret_cast<WheelEventTestTrigger::ScrollableAreaIdentifier>(page), WheelEventTestTrigger::ScrollingThreadSyncNeeded);
 }
+#endif
 
 void EventDispatcher::wheelEvent(uint64_t pageID, const WebWheelEvent& wheelEvent, bool canRubberBandAtLeft, bool canRubberBandAtRight, bool canRubberBandAtTop, bool canRubberBandAtBottom)
 {