| Index: Source/platform/fonts/GlyphBuffer.h
|
| diff --git a/Source/platform/fonts/GlyphBuffer.h b/Source/platform/fonts/GlyphBuffer.h
|
| index 18bcd57ca9ec227a2a54342671be0e70d11e273b..03b26df844c33c5b3949581a2ecfabe3c88a5a23 100644
|
| --- a/Source/platform/fonts/GlyphBuffer.h
|
| +++ b/Source/platform/fonts/GlyphBuffer.h
|
| @@ -86,9 +86,13 @@ public:
|
| return m_glyphs[index];
|
| }
|
|
|
| - float advanceAt(unsigned index) const
|
| + FloatSize advanceAt(unsigned index) const
|
| {
|
| - return m_advances[index].width();
|
| +#if OS(MACOSX)
|
| + return FloatSize(m_advances[index]);
|
| +#else
|
| + return m_advances[index];
|
| +#endif
|
| }
|
|
|
| void add(Glyph glyph, const SimpleFontData* font, float width)
|
|
|