Index: Source/core/html/HTMLCanvasElement.idl |
diff --git a/Source/core/html/HTMLCanvasElement.idl b/Source/core/html/HTMLCanvasElement.idl |
index aa4aabb4cefd3cf2ca23fbea2f1f2ecb676f21e3..5f97987d6c470a235eaebfe8727debe77b9489e2 100644 |
--- a/Source/core/html/HTMLCanvasElement.idl |
+++ b/Source/core/html/HTMLCanvasElement.idl |
@@ -29,7 +29,7 @@ interface HTMLCanvasElement : HTMLElement { |
attribute long width; |
attribute long height; |
- [Custom, RaisesException] DOMString toDataURL([TreatNullAs=NullString, TreatUndefinedAs=NullString,Default=Undefined] optional DOMString type); |
+ [Custom, 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); |