diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/css/FontFace.h')
-rw-r--r-- | chromium/third_party/WebKit/Source/core/css/FontFace.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/third_party/WebKit/Source/core/css/FontFace.h b/chromium/third_party/WebKit/Source/core/css/FontFace.h index ce45e44282c..7d116435062 100644 --- a/chromium/third_party/WebKit/Source/core/css/FontFace.h +++ b/chromium/third_party/WebKit/Source/core/css/FontFace.h @@ -55,6 +55,7 @@ class FontFaceDescriptors; class StringOrArrayBufferOrArrayBufferView; class StylePropertySet; class StyleRuleFontFace; +class WebTaskRunner; class FontFace : public RefCountedWillBeGarbageCollectedFinalized<FontFace>, public ScriptWrappable, public ActiveDOMObject { DEFINE_WRAPPERTYPEINFO(); @@ -128,6 +129,9 @@ private: bool setFamilyValue(const CSSValue&); void loadInternal(ExecutionContext*); ScriptPromise fontStatusPromise(ScriptState*); + WebTaskRunner* getTaskRunner(); + void runCallbacks(); + using LoadedProperty = ScriptPromiseProperty<RawPtrWillBeMember<FontFace>, RawPtrWillBeMember<FontFace>, Member<DOMException>>; |