| 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 8e7a2ebf5f0788c1a15bc83ecf562c770f5115bc..f6db5b6693eb76d9a95a066a8379fb658fb0bb88 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| @@ -873,7 +873,7 @@ static float maxWordFragmentWidth(LayoutText* layoutText,
|
| return 0;
|
|
|
| Vector<size_t, 8> hyphenLocations = hyphenation.hyphenLocations(
|
| - layoutText->text().createView(wordOffset, wordLength));
|
| + StringView(layoutText->text(), wordOffset, wordLength));
|
| if (hyphenLocations.isEmpty())
|
| return 0;
|
|
|
|
|