Index: core/html/HTMLCanvasElement.idl |
diff --git a/core/html/HTMLCanvasElement.idl b/core/html/HTMLCanvasElement.idl |
index 0bee59fe085692820fae5c3e8e1b624837ece187..5c851ab9600f2f9d37eabf64e94cfc2270fc4449 100644 |
--- a/core/html/HTMLCanvasElement.idl |
+++ b/core/html/HTMLCanvasElement.idl |
@@ -29,9 +29,12 @@ interface HTMLCanvasElement : HTMLElement { |
attribute long width; |
attribute long height; |
- [Custom, RaisesException] DOMString toDataURL([TreatNullAs=NullString, TreatUndefinedAs=NullString,Default=Undefined] optional DOMString type); |
+ // FIXMEDART: Upstream: Added the optional quality param that V8 accepts. |
+ [Custom, RaisesException] DOMString toDataURL([TreatNullAs=NullString, TreatUndefinedAs=NullString,Default=Undefined] optional DOMString type, optional float quality); |
+ // FIXMEDART: |
+ // - Upstream: Added the optional quality param that V8 accepts. |
+ // - Return RenderingContext. |
// The custom binding is needed to handle context creation attributes. |
- [Custom, PerWorldBindings, ActivityLogging=ForIsolatedWorlds] any getContext([Default=Undefined] optional DOMString contextId); |
+ [Custom, LogActivity] any getContext([Default=Undefined] optional DOMString contextId, optional Dictionary attrs); |
}; |
- |