Index: third_party/WebKit/Source/core/css/CSSFontSelector.cpp |
diff --git a/third_party/WebKit/Source/core/css/CSSFontSelector.cpp b/third_party/WebKit/Source/core/css/CSSFontSelector.cpp |
index 13c4993a3573e3aa33f7cd9c1042c4dd1af3e24d..d763eedfdbcc9933550802d11f82da5e69b34cde 100644 |
--- a/third_party/WebKit/Source/core/css/CSSFontSelector.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSFontSelector.cpp |
@@ -141,7 +141,7 @@ void CSSFontSelector::willUseFontData(const FontDescription& fontDescription, |
const String& text) { |
CSSSegmentedFontFace* face = getFontFaceFromCache(fontDescription, family); |
if (face) |
- face->willUseFontData(fontDescription, text); |
+ face->willUseFontData(m_document, fontDescription, text); |
} |
void CSSFontSelector::willUseRange(const FontDescription& fontDescription, |
@@ -149,7 +149,7 @@ void CSSFontSelector::willUseRange(const FontDescription& fontDescription, |
const FontDataForRangeSet& rangeSet) { |
CSSSegmentedFontFace* face = getFontFaceFromCache(fontDescription, family); |
if (face) |
- face->willUseRange(fontDescription, rangeSet); |
+ face->willUseRange(m_document, fontDescription, rangeSet); |
} |
bool CSSFontSelector::isPlatformFontAvailable( |