Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Unified Diff: third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h

Issue 2161683002: Add LayoutLocale class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test stability Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 a945545dde73eed1c967c11dd320970f577d4d05..62ceade42a907e4930d366840be62c3e9f2c5da1 100644
--- a/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h
+++ b/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h
@@ -743,8 +743,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;
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutText.cpp ('k') | third_party/WebKit/Source/core/style/ComputedStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698