summaryrefslogtreecommitdiff
path: root/Source/WebCore/platform/graphics/harfbuzz/ng/HarfBuzzShaper.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/graphics/harfbuzz/ng/HarfBuzzShaper.h')
-rw-r--r--Source/WebCore/platform/graphics/harfbuzz/ng/HarfBuzzShaper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/harfbuzz/ng/HarfBuzzShaper.h b/Source/WebCore/platform/graphics/harfbuzz/ng/HarfBuzzShaper.h
index 87844cc7f..8260fc96c 100644
--- a/Source/WebCore/platform/graphics/harfbuzz/ng/HarfBuzzShaper.h
+++ b/Source/WebCore/platform/graphics/harfbuzz/ng/HarfBuzzShaper.h
@@ -70,7 +70,7 @@ private:
void setGlyphAndAdvance(unsigned index, uint16_t glyphId, float advance);
void setWidth(float width) { m_width = width; }
- int characterIndexForXPosition(int targetX);
+ int characterIndexForXPosition(float targetX);
float xPositionForOffset(unsigned offset);
const SimpleFontData* fontData() { return m_fontData; }