Index: Source/core/css/FontFace.h |
diff --git a/Source/core/css/FontFace.h b/Source/core/css/FontFace.h |
index 6bcda450ba75c3f5d6420a6303faf8fe97e15586..1d6fb3f5d67f73eded5123312d4604fb8e2329db 100644 |
--- a/Source/core/css/FontFace.h |
+++ b/Source/core/css/FontFace.h |
@@ -45,9 +45,9 @@ namespace blink { |
class CSSFontFace; |
class CSSValueList; |
-class Dictionary; |
class Document; |
class ExceptionState; |
+class FontFaceDescriptors; |
class FontFaceReadyPromiseResolver; |
class StylePropertySet; |
class StyleRuleFontFace; |
@@ -56,9 +56,9 @@ class FontFace : public RefCountedWillBeGarbageCollectedFinalized<FontFace>, pub |
public: |
enum LoadStatus { Unloaded, Loading, Loaded, Error }; |
- static PassRefPtrWillBeRawPtr<FontFace> create(ExecutionContext*, const AtomicString& family, PassRefPtr<ArrayBuffer> source, const Dictionary&, ExceptionState&); |
- static PassRefPtrWillBeRawPtr<FontFace> create(ExecutionContext*, const AtomicString& family, PassRefPtr<ArrayBufferView>, const Dictionary&, ExceptionState&); |
- static PassRefPtrWillBeRawPtr<FontFace> create(ExecutionContext*, const AtomicString& family, const String& source, const Dictionary&, ExceptionState&); |
+ static PassRefPtrWillBeRawPtr<FontFace> create(ExecutionContext*, const AtomicString& family, PassRefPtr<ArrayBuffer> source, const FontFaceDescriptors*, ExceptionState&); |
+ static PassRefPtrWillBeRawPtr<FontFace> create(ExecutionContext*, const AtomicString& family, PassRefPtr<ArrayBufferView>, const FontFaceDescriptors*, ExceptionState&); |
+ static PassRefPtrWillBeRawPtr<FontFace> create(ExecutionContext*, const AtomicString& family, const String& source, const FontFaceDescriptors*, ExceptionState&); |
static PassRefPtrWillBeRawPtr<FontFace> create(Document*, const StyleRuleFontFace*); |
~FontFace(); |