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 cebc93ebd42d1d9a1c77a7ec637e546bf85ce6c9..ab93e174b62dbebbaac7060af152ea51b5bc9060 100644 |
--- a/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h |
+++ b/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h |
@@ -735,8 +735,7 @@ inline bool BreakingContext::handleText(WordMeasurements& wordMeasurements, bool |
// See: fast/css3-text/css3-word-break/word-break-all-wrap-with-floats.html |
float widthMeasurementAtLastBreakOpportunity = 0; |
- Hyphenation* hyphenation = style.getHyphens() == HyphensAuto |
- ? Hyphenation::get(font.getFontDescription().locale()) : nullptr; |
+ Hyphenation* hyphenation = style.getHyphenation(); |
bool disableSoftHyphen = style.getHyphens() == HyphensNone; |
float hyphenWidth = 0; |