Index: third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h |
diff --git a/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h b/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h |
index 7489edea96220c16c21d6e6e7097006e589e356b..c123a226e44773465d4dc62328234378a4bce34f 100644 |
--- a/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h |
+++ b/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h |
@@ -650,7 +650,7 @@ ALWAYS_INLINE bool BreakingContext::hyphenate(LineLayoutText text, |
return false; |
unsigned prefixLength = hyphenation.lastHyphenLocation( |
- text.text().createView(start, len), |
+ StringView(text.text(), start, len), |
std::min(maxPrefixLength, len - Hyphenation::minimumSuffixLength) + 1); |
if (!prefixLength || prefixLength < Hyphenation::minimumPrefixLength) |
return false; |