Title: [223822] trunk/Source/WebKit
- Revision
- 223822
- Author
- [email protected]
- Date
- 2017-10-21 20:41:06 -0700 (Sat, 21 Oct 2017)
Log Message
Unreviewed, silence a -Wunused-but-set-variable warning
* WebProcess/WebPage/EventDispatcher.cpp:
(WebKit::EventDispatcher::wheelEvent):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (223821 => 223822)
--- trunk/Source/WebKit/ChangeLog 2017-10-22 02:05:17 UTC (rev 223821)
+++ trunk/Source/WebKit/ChangeLog 2017-10-22 03:41:06 UTC (rev 223822)
@@ -1,3 +1,10 @@
+2017-10-21 Michael Catanzaro <[email protected]>
+
+ Unreviewed, silence a -Wunused-but-set-variable warning
+
+ * WebProcess/WebPage/EventDispatcher.cpp:
+ (WebKit::EventDispatcher::wheelEvent):
+
2017-10-20 Alex Christensen <[email protected]>
Add FIXME comment after r223803
Modified: trunk/Source/WebKit/WebProcess/WebPage/EventDispatcher.cpp (223821 => 223822)
--- trunk/Source/WebKit/WebProcess/WebPage/EventDispatcher.cpp 2017-10-22 02:05:17 UTC (rev 223821)
+++ trunk/Source/WebKit/WebProcess/WebPage/EventDispatcher.cpp 2017-10-22 03:41:06 UTC (rev 223822)
@@ -90,7 +90,9 @@
void EventDispatcher::wheelEvent(uint64_t pageID, const WebWheelEvent& wheelEvent, bool canRubberBandAtLeft, bool canRubberBandAtRight, bool canRubberBandAtTop, bool canRubberBandAtBottom)
{
+#if PLATFORM(COCOA) || ENABLE(ASYNC_SCROLLING)
PlatformWheelEvent platformWheelEvent = platform(wheelEvent);
+#endif
#if PLATFORM(COCOA)
switch (wheelEvent.phase()) {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes