Index: Source/core/css/CSSFontFace.h |
diff --git a/Source/core/css/CSSFontFace.h b/Source/core/css/CSSFontFace.h |
index e3432e5fb134c9161229e488b2b2e0bc55f36071..9a1ff51e24e3a19357e43d29d6e7cda9a5445dd3 100644 |
--- a/Source/core/css/CSSFontFace.h |
+++ b/Source/core/css/CSSFontFace.h |
@@ -36,13 +36,16 @@ |
namespace WebCore { |
class CSSSegmentedFontFace; |
+class Document; |
class FontDescription; |
class SimpleFontData; |
+class StyleRuleFontFace; |
// FIXME: Can this be a subclass of FontFace? |
class CSSFontFace : public RefCounted<CSSFontFace> { |
public: |
static PassRefPtr<CSSFontFace> create(PassRefPtr<FontFace> fontFace) { return adoptRef(new CSSFontFace(fontFace)); } |
+ static PassRefPtr<CSSFontFace> createFromStyleRule(Document*, const StyleRuleFontFace*); |
class UnicodeRangeSet; |