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

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

Issue 2620293002: Remove CSSFontSelector argument and member from CSSSegmentedFontFace (Closed)
Patch Set: Update test for CL comments Created 3 years, 10 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: 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(
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSFontFace.cpp ('k') | third_party/WebKit/Source/core/css/CSSSegmentedFontFace.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698