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

Unified Diff: Source/core/css/CSSFontFace.h

Issue 103273002: CSSSegmentedFontFaceCache should not know about Document. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years 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
« no previous file with comments | « no previous file | Source/core/css/CSSFontFace.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | Source/core/css/CSSFontFace.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698