Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(458)

Unified Diff: Source/core/css/FontFaceSet.idl

Issue 312683005: IDL: Support optional argument default value syntax (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: address nits Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/css/CSSStyleDeclaration.idl ('k') | Source/core/css/WebKitCSSMatrix.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « Source/core/css/CSSStyleDeclaration.idl ('k') | Source/core/css/WebKitCSSMatrix.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698