| Index: Source/core/rendering/InlineTextBox.cpp
|
| diff --git a/Source/core/rendering/InlineTextBox.cpp b/Source/core/rendering/InlineTextBox.cpp
|
| index 91a40b6194949653122f5f1b679477adcf0a77af..30ce5e0113a19ee27a1f26ba262bfddd4dca7653 100644
|
| --- a/Source/core/rendering/InlineTextBox.cpp
|
| +++ b/Source/core/rendering/InlineTextBox.cpp
|
| @@ -1237,12 +1237,11 @@ void InlineTextBox::characterWidths(Vector<float>& widths) const
|
|
|
| TextRun textRun = constructTextRun(styleToUse, font);
|
|
|
| - GlyphBuffer glyphBuffer;
|
| SimpleShaper shaper(&font, textRun);
|
| float lastWidth = 0;
|
| widths.resize(m_len);
|
| for (unsigned i = 0; i < m_len; i++) {
|
| - shaper.advance(i + 1, &glyphBuffer);
|
| + shaper.advance(i + 1);
|
| widths[i] = shaper.m_runWidthSoFar - lastWidth;
|
| lastWidth = shaper.m_runWidthSoFar;
|
| }
|
|
|