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