Title: [270759] trunk/Source/WebKit/Shared/ios/WebIOSEventFactory.mm
Revision
270759
Author
[email protected]
Date
2020-12-13 20:31:27 -0800 (Sun, 13 Dec 2020)

Log Message

Unreviewed build fix after r270712.

Modified Paths

Diff

Modified: trunk/Source/WebKit/Shared/ios/WebIOSEventFactory.mm (270758 => 270759)


--- trunk/Source/WebKit/Shared/ios/WebIOSEventFactory.mm	2020-12-14 03:38:59 UTC (rev 270758)
+++ trunk/Source/WebKit/Shared/ios/WebIOSEventFactory.mm	2020-12-14 04:31:27 UTC (rev 270759)
@@ -131,6 +131,7 @@
     return WebKit::WebMouseEvent(type, button, buttons, position, position, deltaX, deltaY, deltaZ, clickCount, OptionSet<WebKit::WebEvent::Modifier> { }, WallTime::fromRawSeconds(timestamp));
 }
 
+#if HAVE(UISCROLLVIEW_ASYNCHRONOUS_SCROLL_EVENT_HANDLING)
 static WebKit::WebWheelEvent::Phase toWebPhase(UIScrollPhase phase)
 {
     switch (phase) {
@@ -152,7 +153,6 @@
     }
 }
 
-#if HAVE(UISCROLLVIEW_ASYNCHRONOUS_SCROLL_EVENT_HANDLING)
 WebKit::WebWheelEvent WebIOSEventFactory::createWebWheelEvent(UIScrollEvent *event, UIView *contentView)
 {
     WebCore::IntPoint scrollLocation = WebCore::roundedIntPoint([event locationInView:contentView]);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to