Index: tools/dom/templates/html/impl/impl_TouchEvent.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_TouchEvent.darttemplate b/tools/dom/templates/html/impl/impl_TouchEvent.darttemplate |
index 3ee24626ace1cb9825801be3eb55596212bb2c9e..3fa5e27465b41858d26269c7df9da164bcb81824 100644 |
--- a/tools/dom/templates/html/impl/impl_TouchEvent.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_TouchEvent.darttemplate |
@@ -15,7 +15,7 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS |
if (view == null) { |
view = window; |
} |
- var e = document._createEvent("TouchEvent"); |
+ TouchEvent e = document._createEvent("TouchEvent"); |
e._initTouchEvent(touches, targetTouches, changedTouches, type, view, |
screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey); |
return e; |