| Index: third_party/WebKit/Source/core/layout/LayoutListMarker.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp b/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp
|
| index 0eb1c68d507d18f00288740c1bdb4f8d79c64466..095c8f9776966c273bc90c35b4b76ccb54b91fbd 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp
|
| @@ -203,7 +203,7 @@ LayoutUnit LayoutListMarker::getWidthOfTextWithSuffix() const
|
| if (m_text.isEmpty())
|
| return LayoutUnit();
|
| const Font& font = style()->font();
|
| - LayoutUnit itemWidth = LayoutUnit(font.width(m_text));
|
| + LayoutUnit itemWidth = LayoutUnit(font.width(TextRun(m_text)));
|
| // TODO(wkorman): Look into constructing a text run for both text and suffix
|
| // and painting them together.
|
| UChar suffix[2] = { ListMarkerText::suffix(style()->listStyleType(), m_listItem->value()), ' ' };
|
|
|