Index: Source/platform/fonts/Font.h |
diff --git a/Source/platform/fonts/Font.h b/Source/platform/fonts/Font.h |
index 70abf997afcfb50f5baac977820f8b7ce4e3224b..38e9bf8291dfa0c5c3238ef8e09782e8ef6fc957 100644 |
--- a/Source/platform/fonts/Font.h |
+++ b/Source/platform/fonts/Font.h |
@@ -104,7 +104,7 @@ public: |
void drawEmphasisMarks(GraphicsContext*, const TextRunPaintInfo&, const AtomicString& mark, const FloatPoint&) const; |
float width(const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0, GlyphOverflow* = 0) const; |
- float width(const TextRun&, int& charsConsumed, Glyph& glyphId) const; |
+ float width(const TextRun&, unsigned& 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, bool accountForGlyphBounds = false) const; |