Index: Source/core/html/HTMLCanvasElement.idl |
diff --git a/Source/core/html/HTMLCanvasElement.idl b/Source/core/html/HTMLCanvasElement.idl |
index 458e8ab62eefa8290ff77ce7d0925f43ac07393e..b6d326c40df78aff6e2585d905f6867b69643a5c 100644 |
--- a/Source/core/html/HTMLCanvasElement.idl |
+++ b/Source/core/html/HTMLCanvasElement.idl |
@@ -45,8 +45,7 @@ interface HTMLCanvasElement : HTMLElement { |
// handled differently the return type could be changed to "RenderingContext?" |
// and the [CallWith=ScriptState] extended attribute removed. |
// |
- // FIXME: The contextId argument should not be optional. |
- [CallWith=ScriptState] any getContext([Default=Undefined] optional DOMString contextId, [PermissiveDictionaryConversion] optional CanvasContextCreationAttributes attributes); |
+ [CallWith=ScriptState] any getContext(DOMString contextId, [PermissiveDictionaryConversion] optional CanvasContextCreationAttributes attributes); |
// Note: The arguments argument is variadic in the spec, but not here as |
// only one extra argument is actually used. |