Title: [270800] branches/safari-611.1.9-branch/Source/WebKit/Shared/ios/WebIOSEventFactory.mm
- Revision
- 270800
- Author
- [email protected]
- Date
- 2020-12-14 12:43:40 -0800 (Mon, 14 Dec 2020)
Log Message
Cherry-pick r270759. rdar://problem/54616853
Unreviewed build fix after r270712.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@270759 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Modified Paths
Diff
Modified: branches/safari-611.1.9-branch/Source/WebKit/Shared/ios/WebIOSEventFactory.mm (270799 => 270800)
--- branches/safari-611.1.9-branch/Source/WebKit/Shared/ios/WebIOSEventFactory.mm 2020-12-14 20:35:03 UTC (rev 270799)
+++ branches/safari-611.1.9-branch/Source/WebKit/Shared/ios/WebIOSEventFactory.mm 2020-12-14 20:43:40 UTC (rev 270800)
@@ -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