Index: tools/dom/templates/html/impl/impl_HTMLInputElement.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_HTMLInputElement.darttemplate b/tools/dom/templates/html/impl/impl_HTMLInputElement.darttemplate |
index 4919649ff75dc356c597a8c940592abb9016bd49..e6ad32fe3ce1b83a13bea48e77d506736be10b69 100644 |
--- a/tools/dom/templates/html/impl/impl_HTMLInputElement.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_HTMLInputElement.darttemplate |
@@ -28,7 +28,7 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS implements |
ButtonInputElement { |
factory InputElement({String type}) { |
- var e = document.createElement("input"); |
+ InputElement e = document.createElement("input"); |
if (type != null) { |
try { |
// IE throws an exception for unknown types. |