Title: [222846] trunk/Source/WebKit
Revision
222846
Author
[email protected]
Date
2017-10-04 07:24:41 -0700 (Wed, 04 Oct 2017)

Log Message

Unreviewed WPE build fix after r222837
https://bugs.webkit.org/show_bug.cgi?id=177449


* Shared/wpe/WebEventFactory.cpp:
(WebKit::wallTimeForEventTime):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (222845 => 222846)


--- trunk/Source/WebKit/ChangeLog	2017-10-04 14:14:13 UTC (rev 222845)
+++ trunk/Source/WebKit/ChangeLog	2017-10-04 14:24:41 UTC (rev 222846)
@@ -1,3 +1,11 @@
+2017-10-04  Michael Catanzaro  <[email protected]>
+
+        Unreviewed WPE build fix after r222837
+        https://bugs.webkit.org/show_bug.cgi?id=177449
+
+        * Shared/wpe/WebEventFactory.cpp:
+        (WebKit::wallTimeForEventTime):
+
 2017-10-04  Ryosuke Niwa  <[email protected]>
 
         Use blob URL when pasting RTFD instead of overriding DocumentLoader

Modified: trunk/Source/WebKit/Shared/wpe/WebEventFactory.cpp (222845 => 222846)


--- trunk/Source/WebKit/Shared/wpe/WebEventFactory.cpp	2017-10-04 14:14:13 UTC (rev 222845)
+++ trunk/Source/WebKit/Shared/wpe/WebEventFactory.cpp	2017-10-04 14:24:41 UTC (rev 222846)
@@ -79,7 +79,7 @@
     // so as well, and so long as WTF::MonotonicTime continues to use
     // g_get_monotonic_time(). It also assumes the event timestamp is in
     // milliseconds.
-    return timestamp ? MonotonicTime::fromRawSeconds(seconds / 1000.).approximateWallTime() : WallTime::now();
+    return timestamp ? MonotonicTime::fromRawSeconds(timestamp / 1000.).approximateWallTime() : WallTime::now();
 }
 
 WebKeyboardEvent WebEventFactory::createWebKeyboardEvent(struct wpe_input_keyboard_event* event)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to