| Index: Source/platform/text/TextRun.h
|
| diff --git a/Source/platform/text/TextRun.h b/Source/platform/text/TextRun.h
|
| index 02372883ad11d6d8ebb9c639a9a3f0bf9181d3ea..4bac69429a4074df44ba494e1c26f6bd3871edf7 100644
|
| --- a/Source/platform/text/TextRun.h
|
| +++ b/Source/platform/text/TextRun.h
|
| @@ -172,8 +172,8 @@
|
| const UChar* characters16() const { ASSERT(!is8Bit()); return m_data.characters16; }
|
|
|
| bool is8Bit() const { return m_is8Bit; }
|
| - unsigned length() const { return m_len; }
|
| - unsigned charactersLength() const { return m_charactersLength; }
|
| + int length() const { return m_len; }
|
| + int charactersLength() const { return m_charactersLength; }
|
|
|
| bool normalizeSpace() const { return m_normalizeSpace; }
|
| void setNormalizeSpace(bool normalizeSpace) { m_normalizeSpace = normalizeSpace; }
|
| @@ -215,7 +215,7 @@
|
|
|
| virtual GlyphData glyphDataForCharacter(const Font&, const TextRun&, SimpleShaper&, UChar32 character, bool mirror, int currentCharacter, unsigned& advanceLength) = 0;
|
| virtual void drawSVGGlyphs(GraphicsContext*, const TextRun&, const SimpleFontData*, const GlyphBuffer&, int from, int to, const FloatPoint&) const = 0;
|
| - virtual float floatWidthUsingSVGFont(const Font&, const TextRun&, unsigned& charsConsumed, Glyph& glyphId) const = 0;
|
| + virtual float floatWidthUsingSVGFont(const Font&, const TextRun&, int& charsConsumed, Glyph& glyphId) const = 0;
|
| };
|
|
|
| RenderingContext* renderingContext() const { return m_renderingContext.get(); }
|
| @@ -265,8 +265,8 @@
|
| }
|
|
|
| const TextRun& run;
|
| - unsigned from;
|
| - unsigned to;
|
| + int from;
|
| + int to;
|
| FloatRect bounds;
|
| };
|
|
|
|
|