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

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

Issue 2885363005: Make Hyphens an enum class. (Closed)
Patch Set: Created 3 years, 7 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 84f7cacb361b2dc777c53cc58ed4b39c8847e40c..ad5951fa8e56ae8ee3a3f2575ad01ecfd8bd2c18 100644
--- a/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h
+++ b/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h
@@ -969,7 +969,7 @@ inline bool BreakingContext::HandleText(WordMeasurements& word_measurements,
float width_measurement_at_last_break_opportunity = 0;
Hyphenation* hyphenation = auto_wrap_ ? style.GetHyphenation() : nullptr;
- bool disable_soft_hyphen = style.GetHyphens() == kHyphensNone;
+ bool disable_soft_hyphen = style.GetHyphens() == Hyphens::kNone;
float hyphen_width = 0;
bool is_line_empty = line_info_.IsEmpty();
« 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