diff options
Diffstat (limited to 'WebCore/platform/graphics/WidthIterator.h')
-rw-r--r-- | WebCore/platform/graphics/WidthIterator.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/platform/graphics/WidthIterator.h b/WebCore/platform/graphics/WidthIterator.h index d42a0c5..8b3c067 100644 --- a/WebCore/platform/graphics/WidthIterator.h +++ b/WebCore/platform/graphics/WidthIterator.h @@ -33,7 +33,7 @@ class SimpleFontData; class TextRun; struct WidthIterator { - WidthIterator(const Font*, const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0, bool accountForGlyphBounds = false); + WidthIterator(const Font*, const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0, bool accountForGlyphBounds = false, bool forTextEmphasis = false); void advance(int to, GlyphBuffer* = 0); bool advanceOneCharacter(float& width, GlyphBuffer* = 0); @@ -63,6 +63,7 @@ private: float m_minGlyphBoundingBoxY; float m_firstGlyphOverflow; float m_lastGlyphOverflow; + bool m_forTextEmphasis; }; } |