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

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

Issue 1244973003: Reland "Change fallback font collection in HarfBuzzShaper" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase (resolved conflicts) Created 5 years, 4 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 ef71b8fe2dcbe79e8b3884336d256b0f6b7685f2..36aaf674fa30c829a3ad41331af011c974918839 100644
--- a/Source/platform/fonts/Font.cpp
+++ b/Source/platform/fonts/Font.cpp
@@ -704,8 +704,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