Index: Source/core/css/FontFaceSet.idl |
diff --git a/Source/core/css/FontFaceSet.idl b/Source/core/css/FontFaceSet.idl |
index c051b27cf4fa8ed18d51fcf68d7a42d2c81d3411..f1055517c102fea0198a073e567106f9af95cb70 100644 |
--- a/Source/core/css/FontFaceSet.idl |
+++ b/Source/core/css/FontFaceSet.idl |
@@ -41,8 +41,8 @@ enum FontFaceSetLoadStatus { "loading", "loaded" }; |
attribute EventHandler onloadingdone; |
attribute EventHandler onloadingerror; |
- [RaisesException] boolean check(DOMString font, [Default=NullString] optional DOMString text); |
- [CallWith=ScriptState] Promise load(DOMString font, [Default=NullString] optional DOMString text); |
+ [RaisesException] boolean check(DOMString font, optional DOMString text = null); |
+ [CallWith=ScriptState] Promise load(DOMString font, optional DOMString text = null); |
[CallWith=ScriptState] Promise ready(); |
[RaisesException] void add(FontFace fontFace); |