| 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 761125efe695776b3006e2a65862522b745e6809..888e11e0a98eb226b2c921c9c01a5ff5d84c3274 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutText.cpp
|
| @@ -1135,7 +1135,7 @@ void LayoutText::ComputePreferredLogicalWidths(
|
|
|
| Hyphenation* hyphenation =
|
| style_to_use.AutoWrap() ? style_to_use.GetHyphenation() : nullptr;
|
| - bool disable_soft_hyphen = style_to_use.GetHyphens() == kHyphensNone;
|
| + bool disable_soft_hyphen = style_to_use.GetHyphens() == Hyphens::kNone;
|
| float max_word_width = 0;
|
| if (!hyphenation)
|
| max_word_width = std::numeric_limits<float>::infinity();
|
|
|