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

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

Issue 273683006: ScriptPromise should understand the ScriptState from which the ScriptPromise is generated (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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/FontFaceSet.cpp ('k') | Source/core/testing/Internals.h » ('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 b17e7fc8f756b9c5eed0a040714229580b38d55f..c051b27cf4fa8ed18d51fcf68d7a42d2c81d3411 100644
--- a/Source/core/css/FontFaceSet.idl
+++ b/Source/core/css/FontFaceSet.idl
@@ -42,8 +42,8 @@ enum FontFaceSetLoadStatus { "loading", "loaded" };
attribute EventHandler onloadingerror;
[RaisesException] boolean check(DOMString font, [Default=NullString] optional DOMString text);
- Promise load(DOMString font, [Default=NullString] optional DOMString text);
- Promise ready();
+ [CallWith=ScriptState] Promise load(DOMString font, [Default=NullString] optional DOMString text);
+ [CallWith=ScriptState] Promise ready();
[RaisesException] void add(FontFace fontFace);
void clear();
« no previous file with comments | « Source/core/css/FontFaceSet.cpp ('k') | Source/core/testing/Internals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698