Title: [103673] trunk/Source/WebCore
Revision
103673
Author
wei...@apple.com
Date
2011-12-25 13:32:15 -0800 (Sun, 25 Dec 2011)

Log Message

Fix tests failing as a result of r103643
https://bugs.webkit.org/show_bug.cgi?id=75209

Reviewed by Dan Bernstein.

Switch accidental switch of default scroll granularity from 
ScrollByPageWheelEvent back to ScrollByPixelWheelEvent.

* platform/mac/PlatformEventFactory.mm:
(WebCore::PlatformWheelEventBuilder::PlatformWheelEventBuilder):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (103672 => 103673)


--- trunk/Source/WebCore/ChangeLog	2011-12-25 21:21:06 UTC (rev 103672)
+++ trunk/Source/WebCore/ChangeLog	2011-12-25 21:32:15 UTC (rev 103673)
@@ -1,3 +1,16 @@
+2011-12-25  Sam Weinig  <s...@webkit.org>
+
+        Fix tests failing as a result of r103643
+        https://bugs.webkit.org/show_bug.cgi?id=75209
+
+        Reviewed by Dan Bernstein.
+
+        Switch accidental switch of default scroll granularity from 
+        ScrollByPageWheelEvent back to ScrollByPixelWheelEvent.
+
+        * platform/mac/PlatformEventFactory.mm:
+        (WebCore::PlatformWheelEventBuilder::PlatformWheelEventBuilder):
+
 2011-12-25  Darin Adler  <da...@apple.com>
 
         Change CSS canvas code that does HashMap get/set to use the more efficient add idiom

Modified: trunk/Source/WebCore/platform/mac/PlatformEventFactory.mm (103672 => 103673)


--- trunk/Source/WebCore/platform/mac/PlatformEventFactory.mm	2011-12-25 21:21:06 UTC (rev 103672)
+++ trunk/Source/WebCore/platform/mac/PlatformEventFactory.mm	2011-12-25 21:32:15 UTC (rev 103673)
@@ -427,7 +427,7 @@
         // PlatformWheelEvent
         m_position                          = pointForEvent(event, windowView);
         m_globalPosition                    = globalPointForEvent(event);
-        m_granularity                       = ScrollByPageWheelEvent;
+        m_granularity                       = ScrollByPixelWheelEvent;
 
         BOOL continuous;
         wkGetWheelEventDeltas(event, &m_deltaX, &m_deltaY, &continuous);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to