| Index: third_party/WebKit/Source/platform/text/Hyphenation.cpp
|
| diff --git a/third_party/WebKit/Source/platform/text/Hyphenation.cpp b/third_party/WebKit/Source/platform/text/Hyphenation.cpp
|
| index 7a73d9841ae97c4a6e4f86fe96b739854a57e1a1..99431b415c426257778a86e82523ab2117f39788 100644
|
| --- a/third_party/WebKit/Source/platform/text/Hyphenation.cpp
|
| +++ b/third_party/WebKit/Source/platform/text/Hyphenation.cpp
|
| @@ -24,9 +24,10 @@ Vector<size_t, 8> Hyphenation::hyphenLocations(const StringView& text) const {
|
| }
|
|
|
| int Hyphenation::minimumPrefixWidth(const Font& font) {
|
| - // If the maximum width available for the prefix before the hyphen is small, then it is very unlikely
|
| - // that an hyphenation opportunity exists, so do not bother to look for it.
|
| - // These are heuristic numbers for performance added in http://wkb.ug/45606
|
| + // If the maximum width available for the prefix before the hyphen is small,
|
| + // then it is very unlikely that an hyphenation opportunity exists, so do not
|
| + // bother to look for it. These are heuristic numbers for performance added
|
| + // in http://wkb.ug/45606
|
| const int minimumPrefixWidthNumerator = 5;
|
| const int minimumPrefixWidthDenominator = 4;
|
| return font.getFontDescription().computedPixelSize() *
|
|
|