Index: tools/dom/templates/html/impl/impl_UIEvent.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_UIEvent.darttemplate b/tools/dom/templates/html/impl/impl_UIEvent.darttemplate |
index 5894720cd3849d041d5fceb15006e5b64d741c73..405d06dd23cd9acf42f553140377856886474228 100644 |
--- a/tools/dom/templates/html/impl/impl_UIEvent.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_UIEvent.darttemplate |
@@ -19,7 +19,7 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS |
if (view == null) { |
view = window; |
} |
- final e = document._createEvent("UIEvent"); |
+ UIEvent e = document._createEvent("UIEvent"); |
e._initUIEvent(type, canBubble, cancelable, view, detail); |
return e; |
} |