Index: third_party/WebKit/Source/core/events/CustomEvent.idl |
diff --git a/third_party/WebKit/Source/core/events/CustomEvent.idl b/third_party/WebKit/Source/core/events/CustomEvent.idl |
index 5e6d7abd36049c1f94cae0be83e1847462b91137..260e2e197a28cdad6adede21ca186c19e1b08b90 100644 |
--- a/third_party/WebKit/Source/core/events/CustomEvent.idl |
+++ b/third_party/WebKit/Source/core/events/CustomEvent.idl |
@@ -26,7 +26,9 @@ |
// https://dom.spec.whatwg.org/#interface-customevent |
[ |
- Constructor(DOMString type, optional CustomEventInit eventInitDict), |
+ // TODO(bashi): Don't use CustomConstructor. Constructor should be: |
+ // Constructor(DOMString type, optional CustomEventInit eventInitDict), |
+ CustomConstructor, |
Exposed=(Window,Worker), |
] interface CustomEvent : Event { |
[Custom=Getter] readonly attribute any detail; |