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

Unified Diff: Source/core/css/resolver/StyleResolver.cpp

Issue 141553003: Remove indirection plumbing in CSSFontSelector. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 months 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 | « Source/core/css/FontFaceSet.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/resolver/StyleResolver.cpp
diff --git a/Source/core/css/resolver/StyleResolver.cpp b/Source/core/css/resolver/StyleResolver.cpp
index abd3517b283415004c512f07fd016cef5c6b7606..c83bf94d0d6cd55f0e1838201ff9e740da354a42 100644
--- a/Source/core/css/resolver/StyleResolver.cpp
+++ b/Source/core/css/resolver/StyleResolver.cpp
@@ -125,7 +125,7 @@ static void addFontFaceRule(Document* document, CSSFontSelector* cssFontSelector
{
RefPtr<CSSFontFace> cssFontFace = CSSFontFace::createFromStyleRule(document, fontFaceRule);
if (cssFontFace)
- cssFontSelector->addFontFaceRule(fontFaceRule, cssFontFace);
+ cssFontSelector->fontFaceCache()->add(cssFontSelector, fontFaceRule, cssFontFace);
}
StyleResolver::StyleResolver(Document& document)
« no previous file with comments | « Source/core/css/FontFaceSet.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698