Index: tools/dom/templates/html/dartium/impl_KeyboardEvent.darttemplate |
diff --git a/tools/dom/templates/html/dartium/impl_KeyboardEvent.darttemplate b/tools/dom/templates/html/dartium/impl_KeyboardEvent.darttemplate |
index 7e4d0264753fc3d2f91e76466953fc27f6e98ae3..0d5ec436fe1c11a24bcba26f79fe361d400398a2 100644 |
--- a/tools/dom/templates/html/dartium/impl_KeyboardEvent.darttemplate |
+++ b/tools/dom/templates/html/dartium/impl_KeyboardEvent.darttemplate |
@@ -8,14 +8,14 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS |
factory $CLASSNAME(String type, |
{Window view, bool canBubble: true, bool cancelable: true, |
- int keyLocation: 1, bool ctrlKey: false, |
+ int location: 1, bool ctrlKey: false, |
bool altKey: false, bool shiftKey: false, bool metaKey: false}) { |
if (view == null) { |
view = window; |
} |
final e = document._createEvent("KeyboardEvent"); |
e._initKeyboardEvent(type, canBubble, cancelable, view, "", |
- keyLocation, ctrlKey, altKey, shiftKey, metaKey); |
+ location, ctrlKey, altKey, shiftKey, metaKey); |
return e; |
} |