Title: [230020] trunk/Source/WebKit
Revision
230020
Author
[email protected]
Date
2018-03-27 19:37:05 -0700 (Tue, 27 Mar 2018)

Log Message

Unreviewed, fix typo in variable name

* UIProcess/API/gtk/WebKitWebViewBase.cpp:
(webkitWebViewBaseCrossingNotifyEvent):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (230019 => 230020)


--- trunk/Source/WebKit/ChangeLog	2018-03-28 01:36:52 UTC (rev 230019)
+++ trunk/Source/WebKit/ChangeLog	2018-03-28 02:37:05 UTC (rev 230020)
@@ -1,3 +1,10 @@
+2018-03-27  Michael Catanzaro  <[email protected]>
+
+        Unreviewed, fix typo in variable name
+
+        * UIProcess/API/gtk/WebKitWebViewBase.cpp:
+        (webkitWebViewBaseCrossingNotifyEvent):
+
 2018-03-27  Per Arne Vollan  <[email protected]>
 
         The layout test fast/canvas/webgl/read-pixels-test.html is timing out.

Modified: trunk/Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp (230019 => 230020)


--- trunk/Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp	2018-03-28 01:36:52 UTC (rev 230019)
+++ trunk/Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp	2018-03-28 02:37:05 UTC (rev 230020)
@@ -885,7 +885,7 @@
     return GDK_EVENT_PROPAGATE;
 }
 
-static gboolean webkitWebViewBaseCrossingNotifyEvent(GtkWidget* widget, GdkEventCrossing* crosssingEvent)
+static gboolean webkitWebViewBaseCrossingNotifyEvent(GtkWidget* widget, GdkEventCrossing* crossingEvent)
 {
     WebKitWebViewBase* webViewBase = WEBKIT_WEB_VIEW_BASE(widget);
     WebKitWebViewBasePrivate* priv = webViewBase->priv;
@@ -902,8 +902,8 @@
     gtk_widget_get_allocation(widget, &allocation);
     double width = allocation.width;
     double height = allocation.height;
-    double x = crosssingEvent->x;
-    double y = crosssingEvent->y;
+    double x = crossingEvent->x;
+    double y = crossingEvent->y;
     if (x < 0 && x > -1)
         x = -1;
     else if (x >= width && x < width + 1)
@@ -913,9 +913,9 @@
     else if (y >= height && y < height + 1)
         y = height + 1;
 
-    GdkEvent* event = reinterpret_cast<GdkEvent*>(crosssingEvent);
+    GdkEvent* event = reinterpret_cast<GdkEvent*>(crossingEvent);
     GUniquePtr<GdkEvent> copiedEvent;
-    if (x != crosssingEvent->x || y != crosssingEvent->y) {
+    if (x != crossingEvent->x || y != crossingEvent->y) {
         copiedEvent.reset(gdk_event_copy(event));
         copiedEvent->crossing.x = x;
         copiedEvent->crossing.y = y;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to