Title: [243184] trunk/Source/WebKit
Revision
243184
Author
commit-qu...@webkit.org
Date
2019-03-19 18:38:12 -0700 (Tue, 19 Mar 2019)

Log Message

[WPE] Fix build warnings because of missing an argument when initializing wpe_input_axis_event
https://bugs.webkit.org/show_bug.cgi?id=195931

Patch by Gyuyoung Kim <gyuyoung....@lge.com> on 2019-03-19
Reviewed by Michael Catanzaro.

There are still build warnings when building wpe port. It looks like
these build warnings have been caused by missing to set an argument
for the modifier parameter of wpe_input_axis_event. This patch sets 0
for the modifier argument to avoid the build warnings.

* UIProcess/API/wpe/ScrollGestureController.cpp:
(WebKit::ScrollGestureController::handleEvent):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (243183 => 243184)


--- trunk/Source/WebKit/ChangeLog	2019-03-20 00:59:50 UTC (rev 243183)
+++ trunk/Source/WebKit/ChangeLog	2019-03-20 01:38:12 UTC (rev 243184)
@@ -1,3 +1,18 @@
+2019-03-19  Gyuyoung Kim  <gyuyoung....@lge.com>
+
+        [WPE] Fix build warnings because of missing an argument when initializing wpe_input_axis_event
+        https://bugs.webkit.org/show_bug.cgi?id=195931
+
+        Reviewed by Michael Catanzaro.
+
+        There are still build warnings when building wpe port. It looks like
+        these build warnings have been caused by missing to set an argument
+        for the modifier parameter of wpe_input_axis_event. This patch sets 0
+        for the modifier argument to avoid the build warnings.
+
+        * UIProcess/API/wpe/ScrollGestureController.cpp:
+        (WebKit::ScrollGestureController::handleEvent):
+
 2019-03-19  John Wilander  <wilan...@apple.com>
 
         Resource Load Statistics (experimental): Clear non-cookie website data for sites that have been navigated to, with link decoration, by a prevalent resource

Modified: trunk/Source/WebKit/UIProcess/API/wpe/ScrollGestureController.cpp (243183 => 243184)


--- trunk/Source/WebKit/UIProcess/API/wpe/ScrollGestureController.cpp	2019-03-20 00:59:50 UTC (rev 243183)
+++ trunk/Source/WebKit/UIProcess/API/wpe/ScrollGestureController.cpp	2019-03-20 01:38:12 UTC (rev 243184)
@@ -55,7 +55,7 @@
             m_axisEvent = {
                 wpe_input_axis_event_type_motion,
                 touchPoint->time, m_start.x, m_start.y,
-                2, (touchPoint->y - m_offset.y)
+                2, (touchPoint->y - m_offset.y), 0
             };
             m_offset.x = touchPoint->x;
             m_offset.y = touchPoint->y;
@@ -67,7 +67,7 @@
             m_handling = false;
             m_axisEvent = {
                 wpe_input_axis_event_type_null,
-                0, 0, 0, 0, 0
+                0, 0, 0, 0, 0, 0
             };
             return true;
         }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to