| 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 ae34ac73916a6f54b7e84b8310a71e46bfcac7e9..a11cb22c08c6ba6e657400fc397b471c6488553f 100644
|
| --- a/tools/dom/templates/html/impl/impl_WheelEvent.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_WheelEvent.darttemplate
|
| @@ -20,7 +20,7 @@ $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| if (Device.isFirefox) {
|
| eventType = 'MouseScrollEvents';
|
| }
|
| - final event = document.$dom_createEvent(eventType);
|
| + final event = document._createEvent(eventType);
|
| $if DART2JS
|
| // If polyfilling, then flip these because we'll flip them back to match
|
| // the W3C standard:
|
| @@ -71,10 +71,10 @@ $else
|
| deltaY = -deltaY;
|
| $endif
|
| // Fallthrough for Dartium.
|
| - event.$dom_initMouseEvent(type, canBubble, cancelable, view, detail,
|
| + event._initMouseEvent(type, canBubble, cancelable, view, detail,
|
| screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey,
|
| metaKey, button, relatedTarget);
|
| - event.$dom_initWebKitWheelEvent(deltaX,
|
| + event._initWebKitWheelEvent(deltaX,
|
| deltaY ~/ 120, // Chrome does an auto-convert to pixels.
|
| view, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey,
|
| metaKey);
|
|
|