| Index: tools/dom/templates/html/impl/impl_Event.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_Event.darttemplate b/tools/dom/templates/html/impl/impl_Event.darttemplate
|
| index cc0a3a61d76db7a088faa6a0f472682add395107..00ced302103ecbe92771b607f10c014d2f152b56 100644
|
| --- a/tools/dom/templates/html/impl/impl_Event.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_Event.darttemplate
|
| @@ -29,8 +29,8 @@ $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| */
|
| factory Event.eventType(String type, String name, {bool canBubble: true,
|
| bool cancelable: true}) {
|
| - final Event e = document.$dom_createEvent(type);
|
| - e.$dom_initEvent(name, canBubble, cancelable);
|
| + final Event e = document._createEvent(type);
|
| + e._initEvent(name, canBubble, cancelable);
|
| return e;
|
| }
|
| $!MEMBERS
|
|
|