| Index: Source/core/css/FontFace.h
|
| diff --git a/Source/core/css/FontFace.h b/Source/core/css/FontFace.h
|
| index 6bcda450ba75c3f5d6420a6303faf8fe97e15586..0e5dacfb3f84f3823bf7de5e49eecb9100308294 100644
|
| --- a/Source/core/css/FontFace.h
|
| +++ b/Source/core/css/FontFace.h
|
| @@ -35,6 +35,7 @@
|
| #include "bindings/core/v8/ScriptWrappable.h"
|
| #include "core/CSSPropertyNames.h"
|
| #include "core/css/CSSValue.h"
|
| +#include "core/css/FontFaceDescriptors.h"
|
| #include "core/dom/DOMError.h"
|
| #include "platform/fonts/FontTraits.h"
|
| #include "wtf/PassRefPtr.h"
|
| @@ -45,7 +46,6 @@ namespace blink {
|
|
|
| class CSSFontFace;
|
| class CSSValueList;
|
| -class Dictionary;
|
| class Document;
|
| class ExceptionState;
|
| class FontFaceReadyPromiseResolver;
|
| @@ -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();
|
|
|