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

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

Issue 816923002: Switch FontFaceSet#ready from a method to an attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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 | « LayoutTests/svg/zoom/page/zoom-zoom-coords-expected.txt ('k') | Source/core/frame/UseCounter.cpp » ('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 f318b25e5537fb8e47248bc33e7d7c55f2ad6bc8..0ec73b13d88ddde2e382dc51e79d5e404c12dd6e 100644
--- a/Source/core/css/FontFaceSet.idl
+++ b/Source/core/css/FontFaceSet.idl
@@ -42,7 +42,7 @@ enum FontFaceSetLoadStatus { "loading", "loaded" };
[RaisesException] boolean check(DOMString font, optional DOMString text = " ");
[CallWith=ScriptState] Promise load(DOMString font, optional DOMString text = " ");
- [DeprecateAs=FontFaceSetReady, CallWith=ScriptState] Promise ready();
+ [CallWith=ScriptState] readonly attribute Promise ready;
[RaisesException] void add(FontFace fontFace);
void clear();
« no previous file with comments | « LayoutTests/svg/zoom/page/zoom-zoom-coords-expected.txt ('k') | Source/core/frame/UseCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698