| 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 513b3b414de99d61155bc7e21a7bdb49266043d0..91ae3c100637de2de49566eceaa8230a2f3aa0e5 100644
|
| --- a/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h
|
| +++ b/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h
|
| @@ -946,7 +946,7 @@ inline bool BreakingContext::handleText(WordMeasurements& wordMeasurements,
|
| // See: fast/css3-text/css3-word-break/word-break-all-wrap-with-floats.html
|
| float widthMeasurementAtLastBreakOpportunity = 0;
|
|
|
| - Hyphenation* hyphenation = style.getHyphenation();
|
| + Hyphenation* hyphenation = m_autoWrap ? style.getHyphenation() : nullptr;
|
| bool disableSoftHyphen = style.getHyphens() == HyphensNone;
|
| float hyphenWidth = 0;
|
| bool isLineEmpty = m_lineInfo.isEmpty();
|
|
|