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

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

Issue 1672553004: Use FontFallbackPriority Fonts in FontFallbackIterator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Column limit 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 4028270a4bf9ef7e5219f75e4bacad6748f74d84..9a18d98318447ce3ef51a91e58c0469645e17b18 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

Powered by Google App Engine
This is Rietveld 408576698