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 8a5e3836a072738ea4710893d4d001cd082f7636..d4f5d3fdbba727555d050d9d0dbd0407ced309a0 100644 |
--- a/tools/dom/templates/html/impl/impl_WheelEvent.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_WheelEvent.darttemplate |
@@ -39,12 +39,12 @@ $if DART2JS |
if (view == null) { |
view = window; |
} |
- |
+ |
return JS('WheelEvent', 'new WheelEvent(#, #)', |
type, convertDartToNative_Dictionary(options)); |
$else |
- return _blink.BlinkWheelEvent.constructorCallback_2(type, options); |
+ return wrap_jso(_blink.BlinkWheelEvent.instance.constructorCallback_2_(type, convertDartToNative_Dictionary(options))); |
$endif |
} |