Index: sky/engine/core/html/HTMLCanvasElement.idl |
diff --git a/sky/engine/core/html/HTMLCanvasElement.idl b/sky/engine/core/html/HTMLCanvasElement.idl |
index 5f97987d6c470a235eaebfe8727debe77b9489e2..d3323728e7920d1d946c8c39a9d66d2e958e0b83 100644 |
--- a/sky/engine/core/html/HTMLCanvasElement.idl |
+++ b/sky/engine/core/html/HTMLCanvasElement.idl |
@@ -29,8 +29,7 @@ interface HTMLCanvasElement : HTMLElement { |
attribute long width; |
attribute long height; |
- [Custom, RaisesException] DOMString toDataURL([TreatUndefinedAs=NullString, Default=Undefined] optional DOMString? type); |
+ [RaisesException] DOMString toDataURL([TreatUndefinedAs=NullString, Default=Undefined] optional DOMString? type); |
- // The custom binding is needed to handle context creation attributes. |
- [Custom] any getContext([Default=Undefined] optional DOMString contextId); |
+ CanvasRenderingContext2D getContext(DOMString contextId); |
}; |