| Index: tools/dom/templates/html/impl/impl_CustomEvent.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_CustomEvent.darttemplate b/tools/dom/templates/html/impl/impl_CustomEvent.darttemplate
|
| index a5305e1557bfda1edfecdcfdbc2675e00a3724cd..79dd406141722b6004ea441dc14dea64f5b1dcb0 100644
|
| --- a/tools/dom/templates/html/impl/impl_CustomEvent.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_CustomEvent.darttemplate
|
| @@ -10,12 +10,12 @@ $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| factory $CLASSNAME(String type,
|
| {bool canBubble: true, bool cancelable: true, Object detail}) {
|
|
|
| - final CustomEvent e = document.$dom_createEvent('CustomEvent');
|
| + final CustomEvent e = document._createEvent('CustomEvent');
|
|
|
| $if DART2JS
|
| detail = convertDartToNative_SerializedScriptValue(detail);
|
| $endif
|
| - e.$dom_initCustomEvent(type, canBubble, cancelable, detail);
|
| + e._initCustomEvent(type, canBubble, cancelable, detail);
|
|
|
| return e;
|
| }
|
|
|