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

Unified Diff: third_party/WebKit/Source/core/css/FontFace.h

Issue 2610593002: Make CSSFontFace::setLoadStatus post a task (Closed)
Patch Set: Add comment Created 3 years, 11 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
Index: third_party/WebKit/Source/core/css/FontFace.h
diff --git a/third_party/WebKit/Source/core/css/FontFace.h b/third_party/WebKit/Source/core/css/FontFace.h
index 5f12f10641f9e57ce5a6bb712f110dc3c5f46c94..761e870b3792fbe4d8ce3267d34bfcfa2ad28d2f 100644
--- a/third_party/WebKit/Source/core/css/FontFace.h
+++ b/third_party/WebKit/Source/core/css/FontFace.h
@@ -54,6 +54,7 @@ class FontFaceDescriptors;
class StringOrArrayBufferOrArrayBufferView;
class StylePropertySet;
class StyleRuleFontFace;
+class WebTaskRunner;
class FontFace : public GarbageCollectedFinalized<FontFace>,
public ScriptWrappable,
@@ -154,6 +155,8 @@ class FontFace : public GarbageCollectedFinalized<FontFace>,
bool setPropertyValue(const CSSValue*, CSSPropertyID);
bool setFamilyValue(const CSSValue&);
ScriptPromise fontStatusPromise(ScriptState*);
+ WebTaskRunner* getTaskRunner();
+ void runCallbacks();
using LoadedProperty = ScriptPromiseProperty<Member<FontFace>,
Member<FontFace>,
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/css/fontface-properties.html ('k') | third_party/WebKit/Source/core/css/FontFace.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698