Title: [188864] trunk/Source/WebCore
Revision
188864
Author
wenson_hs...@apple.com
Date
2015-08-24 10:13:06 -0700 (Mon, 24 Aug 2015)

Log Message

Unreviewed, fix build after r188860

* page/mac/WheelEventDeltaFilterMac.mm:
(WebCore::WheelEventDeltaFilterMac::updateFromDelta): Convert argument explicitly to an NSPoint.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (188863 => 188864)


--- trunk/Source/WebCore/ChangeLog	2015-08-24 17:02:25 UTC (rev 188863)
+++ trunk/Source/WebCore/ChangeLog	2015-08-24 17:13:06 UTC (rev 188864)
@@ -1,5 +1,12 @@
 2015-08-24  Wenson Hsieh  <wenson_hs...@apple.com>
 
+        Unreviewed, fix build after r188860
+
+        * page/mac/WheelEventDeltaFilterMac.mm:
+        (WebCore::WheelEventDeltaFilterMac::updateFromDelta): Convert argument explicitly to an NSPoint.
+
+2015-08-24  Wenson Hsieh  <wenson_hs...@apple.com>
+
         Use _NSScrollingPredominantAxisFilter for wheel event filtering on Mac
         https://bugs.webkit.org/show_bug.cgi?id=147320
 

Modified: trunk/Source/WebCore/page/mac/WheelEventDeltaFilterMac.mm (188863 => 188864)


--- trunk/Source/WebCore/page/mac/WheelEventDeltaFilterMac.mm	2015-08-24 17:02:25 UTC (rev 188863)
+++ trunk/Source/WebCore/page/mac/WheelEventDeltaFilterMac.mm	2015-08-24 17:13:06 UTC (rev 188864)
@@ -27,6 +27,7 @@
 
 #include "config.h"
 #include "WheelEventDeltaFilterMac.h"
+#include "FloatPoint.h"
 
 #import "NSScrollingInputFilterSPI.h"
 #import <wtf/CurrentTime.h>
@@ -52,7 +53,7 @@
 
     NSPoint filteredDeltaResult;
     NSPoint filteredVelocityResult;
-    [m_predominantAxisFilter filterInputDelta:CGPointMake(delta.width(), delta.height()) timestamp:monotonicallyIncreasingTime() - m_beginFilteringDeltasTime outputDelta:&filteredDeltaResult velocity:&filteredVelocityResult];
+    [m_predominantAxisFilter filterInputDelta:NSPoint(FloatPoint(delta.width(), delta.height())) timestamp:monotonicallyIncreasingTime() - m_beginFilteringDeltasTime outputDelta:&filteredDeltaResult velocity:&filteredVelocityResult];
     m_currentFilteredDelta = FloatSize(filteredDeltaResult.x, filteredDeltaResult.y);
 }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to