Title: [117177] trunk/Source/WebKit/chromium
Revision
117177
Author
[email protected]
Date
2012-05-15 16:21:02 -0700 (Tue, 15 May 2012)

Log Message

Set the new PlatformWheelEvent member variables to sane defaults
https://bugs.webkit.org/show_bug.cgi?id=86542

Reviewed by Andreas Kling.

* src/WebInputEventConversion.cpp:
(WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):

Modified Paths

Diff

Modified: trunk/Source/WebKit/chromium/ChangeLog (117176 => 117177)


--- trunk/Source/WebKit/chromium/ChangeLog	2012-05-15 23:20:17 UTC (rev 117176)
+++ trunk/Source/WebKit/chromium/ChangeLog	2012-05-15 23:21:02 UTC (rev 117177)
@@ -1,3 +1,13 @@
+2012-05-15  Anders Carlsson  <[email protected]>
+
+        Set the new PlatformWheelEvent member variables to sane defaults
+        https://bugs.webkit.org/show_bug.cgi?id=86542
+
+        Reviewed by Andreas Kling.
+
+        * src/WebInputEventConversion.cpp:
+        (WebKit::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
+
 2012-05-15  Ian Vollick  <[email protected]>
 
         [chromium] Ensure animations get ticked at least once when added.

Modified: trunk/Source/WebKit/chromium/src/WebInputEventConversion.cpp (117176 => 117177)


--- trunk/Source/WebKit/chromium/src/WebInputEventConversion.cpp	2012-05-15 23:20:17 UTC (rev 117176)
+++ trunk/Source/WebKit/chromium/src/WebInputEventConversion.cpp	2012-05-15 23:21:02 UTC (rev 117177)
@@ -128,6 +128,9 @@
     m_phase = static_cast<WebCore::PlatformWheelEventPhase>(e.phase);
     m_momentumPhase = static_cast<WebCore::PlatformWheelEventPhase>(e.momentumPhase);
     m_timestamp = e.timeStampSeconds;
+    m_scrollCount = 0;
+    m_unacceleratedScrollingDeltaX = e.deltaX;
+    m_unacceleratedScrollingDeltaY = e.deltaY;
 #endif
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to