Index: third_party/WebKit/Source/core/dom/Document.idl |
diff --git a/third_party/WebKit/Source/core/dom/Document.idl b/third_party/WebKit/Source/core/dom/Document.idl |
index 7696442efc76b1d2ef411e60d6b2ac05f2f20827..2a864291d283688ec1f6c3504f88138cda93b09c 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.idl |
+++ b/third_party/WebKit/Source/core/dom/Document.idl |
@@ -62,7 +62,7 @@ interface Document : Node { |
[NewObject, RaisesException, MeasureAs=DocumentCreateAttribute] Attr createAttribute(DOMString localName); |
[NewObject, RaisesException, MeasureAs=DocumentCreateAttributeNS] Attr createAttributeNS(DOMString? namespaceURI, DOMString qualifiedName); |
- [NewObject, RaisesException] Event createEvent(DOMString eventType); |
+ [NewObject, RaisesException, CallWith=ExecutionContext] Event createEvent(DOMString eventType); |
[NewObject] Range createRange(); |