Index: Source/platform/fonts/shaping/SimpleShaper.h |
diff --git a/Source/platform/fonts/shaping/SimpleShaper.h b/Source/platform/fonts/shaping/SimpleShaper.h |
index 2c50d6359f8c216e4b5a54e0f35e5e1790f67fca..b3297d5b03320d2bf58e1532751a3893e14ca332 100644 |
--- a/Source/platform/fonts/shaping/SimpleShaper.h |
+++ b/Source/platform/fonts/shaping/SimpleShaper.h |
@@ -42,7 +42,8 @@ struct GlyphData; |
struct PLATFORM_EXPORT SimpleShaper : public Shaper { |
WTF_MAKE_FAST_ALLOCATED; |
public: |
- SimpleShaper(const Font*, const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0, FloatRect* = 0, bool forTextEmphasis = false); |
+ SimpleShaper(const Font*, const TextRun&, const GlyphData* emphasisData = nullptr, |
+ HashSet<const SimpleFontData*>* fallbackFonts = nullptr, FloatRect* = nullptr); |
unsigned advance(unsigned to, GlyphBuffer* = 0); |
bool advanceOneCharacter(float& width); |