Index: tools/dom/templates/html/impl/impl_WheelEvent.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_WheelEvent.darttemplate b/tools/dom/templates/html/impl/impl_WheelEvent.darttemplate |
index 47e14c51c7f0c46a02f9991e32da05be30bd3f07..215a149c38c3640bbf4c0a421916ea07a4a226a0 100644 |
--- a/tools/dom/templates/html/impl/impl_WheelEvent.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_WheelEvent.darttemplate |
@@ -60,7 +60,7 @@ $endif |
screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, |
metaKey, button, relatedTarget); |
event.$dom_initWebKitWheelEvent(wheelDeltaX, |
- (wheelDeltaY / 120).toInt(), // Chrome does an auto-convert to pixels. |
+ wheelDeltaY ~/ 120, // Chrome does an auto-convert to pixels. |
view, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, |
metaKey); |
$if DART2JS |