| 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 bff3bf96482225184cda95b152af25a763d11b90..4b5f10a0e512c0b72353d2340596d0596f223a82 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| @@ -868,7 +868,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;
|
|
|
|
|