Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

Issue 11956030: Fixing dartc error about not using ~/ operator and FF test error. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tests/html/wheelevent_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index b15884cc0c60e2ee1f20581ef88d3acb1032bfa8..29a9264cfa13b56edf6ffc8ca28a73adb48b225f 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -26710,7 +26710,7 @@ class WheelEvent extends MouseEvent {
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);
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tests/html/wheelevent_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698