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

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

Issue 1241613006: Reland "Change fallback font collection in HarfBuzzShaper" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « no previous file | Source/platform/fonts/shaping/CachingWordShapeIterator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/fonts/Font.cpp
diff --git a/Source/platform/fonts/Font.cpp b/Source/platform/fonts/Font.cpp
index fcf0d6448827e7020f7a94cd709879e699c2c9b5..5ee5e3bc2178439359efe0f6f685a9d759e1423a 100644
--- a/Source/platform/fonts/Font.cpp
+++ b/Source/platform/fonts/Font.cpp
@@ -707,8 +707,7 @@ float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFon
int Font::offsetForPositionForComplexText(const TextRun& run, float xFloat,
bool includePartialGlyphs) const
{
- HashSet<const SimpleFontData*> fallbackFonts;
- HarfBuzzShaper shaper(this, run, &fallbackFonts);
+ HarfBuzzShaper shaper(this, run);
RefPtr<ShapeResult> shapeResult = shaper.shapeResult();
if (!shapeResult)
return 0;
« no previous file with comments | « no previous file | Source/platform/fonts/shaping/CachingWordShapeIterator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698