| Index: third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutText.cpp b/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| index f1e723f6b1128b38e5c3b59e91a8c4da3dce0098..8a13749d742c66ad7794e45373e7f040d983cc60 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| @@ -204,7 +204,7 @@ void LayoutText::styleDidChange(StyleDifference diff, const ComputedStyle* oldSt
|
| // In order to make it fast, we only check if the first character of the
|
| // text is included in the unicode ranges of the fonts.
|
| if (!text().containsOnlyWhitespace())
|
| - newStyle.font().willUseFontData(text().characterStartingAt(0));
|
| + newStyle.font().willUseFontData(text());
|
| }
|
|
|
| void LayoutText::removeAndDestroyTextBoxes()
|
|
|