Index: third_party/WebKit/Source/core/events/UIEvent.idl |
diff --git a/third_party/WebKit/Source/core/events/UIEvent.idl b/third_party/WebKit/Source/core/events/UIEvent.idl |
index c0ae319c56a15118ab96b46878e5b1bd4dd7b988..714b0360ffa1bce70d76211cbbc85a14bffee174 100644 |
--- a/third_party/WebKit/Source/core/events/UIEvent.idl |
+++ b/third_party/WebKit/Source/core/events/UIEvent.idl |
@@ -28,11 +28,11 @@ |
// https://w3c.github.io/uievents/#idl-interface-UIEvent-initializers |
// TODO(philipj): None of the initUIEvent() arguments should be optional. |
- [Measure] void initUIEvent([Default=Undefined] optional DOMString type, |
- [Default=Undefined] optional boolean bubbles, |
- [Default=Undefined] optional boolean cancelable, |
- [Default=Undefined] optional Window? view, |
- [Default=Undefined] optional long detail); |
+ [Measure, LegacyInterfaceTypeChecking] void initUIEvent([Default=Undefined] optional DOMString type, |
+ [Default=Undefined] optional boolean bubbles, |
+ [Default=Undefined] optional boolean cancelable, |
+ [Default=Undefined] optional Window? view, |
+ [Default=Undefined] optional long detail); |
// FIXME: this belongs on the KeyboardEvent interface |
[MeasureAs=UIEventWhich] readonly attribute long which; |