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

Unified Diff: Source/core/css/CSSFontSelector.cpp

Issue 248473005: Make CSSFontFace::willUseFontData() load fonts with unicode-range (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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
Index: Source/core/css/CSSFontSelector.cpp
diff --git a/Source/core/css/CSSFontSelector.cpp b/Source/core/css/CSSFontSelector.cpp
index 1de90bee88fb2d815a29e6b6d003197a90e84334..1e330aa1886907abbdd89602b1647da05bf64dbd 100644
--- a/Source/core/css/CSSFontSelector.cpp
+++ b/Source/core/css/CSSFontSelector.cpp
@@ -200,11 +200,11 @@ PassRefPtr<FontData> CSSFontSelector::getFontData(const FontDescription& fontDes
return FontCache::fontCache()->getFontData(fontDescription, settingsFamilyName);
}
-void CSSFontSelector::willUseFontData(const FontDescription& fontDescription, const AtomicString& family)
+void CSSFontSelector::willUseFontData(const FontDescription& fontDescription, const AtomicString& family, const String& text)
{
CSSSegmentedFontFace* face = m_fontFaceCache.get(fontDescription, family);
if (face)
- face->willUseFontData(fontDescription);
+ face->willUseFontData(fontDescription, text);
}
void CSSFontSelector::clearDocument()

Powered by Google App Engine
This is Rietveld 408576698