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