Changeset 188864 in webkit
- Timestamp:
- Aug 24, 2015 10:13:06 AM (9 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r188860 r188864 1 2015-08-24 Wenson Hsieh <wenson_hsieh@apple.com> 2 3 Unreviewed, fix build after r188860 4 5 * page/mac/WheelEventDeltaFilterMac.mm: 6 (WebCore::WheelEventDeltaFilterMac::updateFromDelta): Convert argument explicitly to an NSPoint. 7 1 8 2015-08-24 Wenson Hsieh <wenson_hsieh@apple.com> 2 9 -
trunk/Source/WebCore/page/mac/WheelEventDeltaFilterMac.mm
r188860 r188864 28 28 #include "config.h" 29 29 #include "WheelEventDeltaFilterMac.h" 30 #include "FloatPoint.h" 30 31 31 32 #import "NSScrollingInputFilterSPI.h" … … 53 54 NSPoint filteredDeltaResult; 54 55 NSPoint filteredVelocityResult; 55 [m_predominantAxisFilter filterInputDelta: CGPointMake(delta.width(), delta.height()) timestamp:monotonicallyIncreasingTime() - m_beginFilteringDeltasTime outputDelta:&filteredDeltaResult velocity:&filteredVelocityResult];56 [m_predominantAxisFilter filterInputDelta:NSPoint(FloatPoint(delta.width(), delta.height())) timestamp:monotonicallyIncreasingTime() - m_beginFilteringDeltasTime outputDelta:&filteredDeltaResult velocity:&filteredVelocityResult]; 56 57 m_currentFilteredDelta = FloatSize(filteredDeltaResult.x, filteredDeltaResult.y); 57 58 }
Note: See TracChangeset
for help on using the changeset viewer.