Index: third_party/WebKit/Source/core/events/KeyboardEvent.idl |
diff --git a/third_party/WebKit/Source/core/events/KeyboardEvent.idl b/third_party/WebKit/Source/core/events/KeyboardEvent.idl |
index a83b365d266ad32c0f749659f2db6e1953b39bb3..3e478cd6c37863b95b4db8c1432732dd677fc5f3 100644 |
--- a/third_party/WebKit/Source/core/events/KeyboardEvent.idl |
+++ b/third_party/WebKit/Source/core/events/KeyboardEvent.idl |
@@ -42,16 +42,16 @@ |
// https://w3c.github.io/uievents/#idl-interface-KeyboardEvent-initializers |
// FIXME: this does not match the version in the spec. |
- [CallWith=ScriptState, Measure] void initKeyboardEvent([Default=Undefined] optional DOMString type, |
- [Default=Undefined] optional boolean bubbles, |
- [Default=Undefined] optional boolean cancelable, |
- [Default=Undefined] optional Window view, |
- [Default=Undefined] optional DOMString keyIdentifier, |
- [Default=Undefined] optional unsigned long location, |
- [Default=Undefined] optional boolean ctrlKey, |
- [Default=Undefined] optional boolean altKey, |
- [Default=Undefined] optional boolean shiftKey, |
- [Default=Undefined] optional boolean metaKey); |
+ [CallWith=ScriptState, Measure, LegacyInterfaceTypeChecking] void initKeyboardEvent([Default=Undefined] optional DOMString type, |
+ [Default=Undefined] optional boolean bubbles, |
+ [Default=Undefined] optional boolean cancelable, |
+ [Default=Undefined] optional Window view, |
+ [Default=Undefined] optional DOMString keyIdentifier, |
+ [Default=Undefined] optional unsigned long location, |
+ [Default=Undefined] optional boolean ctrlKey, |
+ [Default=Undefined] optional boolean altKey, |
+ [Default=Undefined] optional boolean shiftKey, |
+ [Default=Undefined] optional boolean metaKey); |
// https://w3c.github.io/uievents/#KeyboardEvent-supplemental-interface |
readonly attribute long charCode; |