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

Unified Diff: third_party/WebKit/Source/platform/fonts/Font.cpp

Issue 1764933002: Reland: Use FontFallbackPriority Fonts in FontFallbackIterator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/platform/fonts/Font.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/Font.cpp b/third_party/WebKit/Source/platform/fonts/Font.cpp
index caa68fb348c841a8ca81887cb84d21d132980fc9..32ab78b7b444281c034ae3a6a6c98a8db03890cb 100644
--- a/third_party/WebKit/Source/platform/fonts/Font.cpp
+++ b/third_party/WebKit/Source/platform/fonts/Font.cpp
@@ -508,9 +508,12 @@ static inline GlyphData glyphDataForNonCJKCharacterWithGlyphOrientation(UChar32
return data;
}
-PassRefPtr<FontFallbackIterator> Font::createFontFallbackIterator() const
+PassRefPtr<FontFallbackIterator> Font::createFontFallbackIterator(
+ FontFallbackPriority fallbackPriority) const
{
- return FontFallbackIterator::create(m_fontDescription, m_fontFallbackList);
+ return FontFallbackIterator::create(m_fontDescription,
+ m_fontFallbackList,
+ fallbackPriority);
}
GlyphData Font::glyphDataForCharacter(UChar32& c, bool mirror, bool normalizeSpace, FontDataVariant variant) const
« no previous file with comments | « third_party/WebKit/Source/platform/fonts/Font.h ('k') | third_party/WebKit/Source/platform/fonts/FontDataRange.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698