| Index: Source/platform/fonts/Font.h
|
| diff --git a/Source/platform/fonts/Font.h b/Source/platform/fonts/Font.h
|
| index d5d68af3ff5a5d52b69872315776c8fde531c44b..c719e1959b93cd55c1dd03e5d05954b7a52bed68 100644
|
| --- a/Source/platform/fonts/Font.h
|
| +++ b/Source/platform/fonts/Font.h
|
| @@ -102,7 +102,7 @@ public:
|
| float width(const TextRun&, int& charsConsumed, Glyph& glyphId) const;
|
|
|
| int offsetForPosition(const TextRun&, float position, bool includePartialGlyphs) const;
|
| - FloatRect selectionRectForText(const TextRun&, const FloatPoint&, int h, int from = 0, int to = -1) const;
|
| + FloatRect selectionRectForText(const TextRun&, const FloatPoint&, int h, int from = 0, int to = -1, bool accountForGlyphBounds = false) const;
|
|
|
| bool isFixedPitch() const;
|
|
|
| @@ -142,7 +142,7 @@ private:
|
| void drawEmphasisMarks(GraphicsContext*, const TextRunPaintInfo&, const GlyphBuffer&, const AtomicString&, const FloatPoint&) const;
|
| float floatWidthForSimpleText(const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0, GlyphOverflow* = 0) const;
|
| int offsetForPositionForSimpleText(const TextRun&, float position, bool includePartialGlyphs) const;
|
| - FloatRect selectionRectForSimpleText(const TextRun&, const FloatPoint&, int h, int from, int to) const;
|
| + FloatRect selectionRectForSimpleText(const TextRun&, const FloatPoint&, int h, int from, int to, bool accountForGlyphBounds) const;
|
|
|
| bool getEmphasisMarkGlyphData(const AtomicString&, GlyphData&) const;
|
|
|
|
|