| Index: Source/platform/fonts/shaping/HarfBuzzShaper.h
|
| diff --git a/Source/platform/fonts/shaping/HarfBuzzShaper.h b/Source/platform/fonts/shaping/HarfBuzzShaper.h
|
| index 6d419d51abb41092cbd9f67e26a1ce1f6c290945..e8e98718737676ae48e91e52d72884a3a47e94b5 100644
|
| --- a/Source/platform/fonts/shaping/HarfBuzzShaper.h
|
| +++ b/Source/platform/fonts/shaping/HarfBuzzShaper.h
|
| @@ -63,10 +63,7 @@
|
| FloatRect bounds() { return m_glyphBoundingBox; }
|
| int offsetForPosition(float targetX);
|
| unsigned numCharacters() const { return m_numCharacters; }
|
| - const HashSet<const SimpleFontData*>* fallbackFonts() const
|
| - {
|
| - return &m_fallbackFonts;
|
| - }
|
| + void fallbackFonts(HashSet<const SimpleFontData*>*) const;
|
|
|
| static float fillGlyphBuffer(Vector<RefPtr<ShapeResult>>&,
|
| GlyphBuffer*, const TextRun&, unsigned from, unsigned to);
|
| @@ -103,7 +100,7 @@
|
| float m_width;
|
| FloatRect m_glyphBoundingBox;
|
| Vector<RunInfo*> m_runs;
|
| - HashSet<const SimpleFontData*> m_fallbackFonts;
|
| + const SimpleFontData* m_primaryFont;
|
|
|
| unsigned m_numCharacters;
|
| unsigned m_numGlyphs : 31;
|
| @@ -118,8 +115,7 @@
|
|
|
| class PLATFORM_EXPORT HarfBuzzShaper final : public Shaper {
|
| public:
|
| - HarfBuzzShaper(const Font*, const TextRun&,
|
| - HashSet<const SimpleFontData*>* fallbackFonts);
|
| + HarfBuzzShaper(const Font*, const TextRun&);
|
| PassRefPtr<ShapeResult> shapeResult();
|
| ~HarfBuzzShaper() { }
|
|
|
|
|