Index: Source/core/dom/Document.idl |
diff --git a/Source/core/dom/Document.idl b/Source/core/dom/Document.idl |
index 30fbc26e4c37d7d4e92040a9830b26089d9dff74..796ef26480ca1d8d1e6f7b53a78b99bdb3305a91 100644 |
--- a/Source/core/dom/Document.idl |
+++ b/Source/core/dom/Document.idl |
@@ -63,7 +63,9 @@ typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext; |
// DOM Level 2 Events (DocumentEvents interface) |
- [RaisesException] Event createEvent(DOMString eventType); |
+ // Customize createEvent so it can call createEventModules in modules. |
+ // FIXME: Use method registration approach instead. http://crbug.com/358074 |
+ [Custom, RaisesException] Event createEvent(DOMString eventType); |
// DOM Level 2 Traversal and Range (DocumentRange interface) |