Index: Source/core/dom/Document.idl |
diff --git a/Source/core/dom/Document.idl b/Source/core/dom/Document.idl |
index 158f5bb2496cc23ae2c556ce0c7381e33c38d7e6..e6c2dd397091c19b22b9634f99e6348f60215417 100644 |
--- a/Source/core/dom/Document.idl |
+++ b/Source/core/dom/Document.idl |
@@ -141,7 +141,7 @@ callback CustomElementConstructor = Element (); |
[TreatReturnedNullStringAs=Null] readonly attribute DOMString preferredStylesheetSet; |
[TreatReturnedNullStringAs=Null, TreatNullAs=NullString] attribute DOMString selectedStylesheetSet; |
- CanvasRenderingContext getCSSCanvasContext(DOMString contextId, DOMString name, long width, long height); |
+ (CanvasRenderingContext2D or WebGLRenderingContext) getCSSCanvasContext(DOMString contextId, DOMString name, long width, long height); |
// HTML 5 |
HTMLCollection getElementsByClassName(DOMString classNames); |