+2006-09-20 Alice Liu <alice.liu@apple.com>
+
+ Reviewed by Adam Roben.
+
+ fixed windows build
+
+ * dom/WheelEvent.cpp:
+ (WebCore::WheelEvent::WheelEvent):
+ changed lrint to lround
+
2006-09-20 Sam Weinig <sam.weinig@gmail.com>
Build Fix. Adds isHorizontal attribute back to WheelEvent
: MouseRelatedEvent(mousewheelEvent,
true, true, view, 0, screenX, screenY, pageX, pageY,
ctrlKey, altKey, shiftKey, metaKey)
- , m_wheelDeltaX(lrint(wheelDeltaX) * 120)
- , m_wheelDeltaY(lrint(wheelDeltaY) * 120) // Normalize to the Windows 120 multiple
+ , m_wheelDeltaX(lround(wheelDeltaX) * 120)
+ , m_wheelDeltaY(lround(wheelDeltaY) * 120) // Normalize to the Windows 120 multiple
{
}