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

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

Issue 2905203002: Make TextIndentLine 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 dafcf2bef63e37f8a60a48156c2fda4219fd4fff..215dec04aa34681af612358997aeab02fbb945d6 100644
--- a/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h
+++ b/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h
@@ -1561,7 +1561,7 @@ inline IndentTextOrNot RequiresIndent(bool is_first_line,
const ComputedStyle& style) {
IndentTextOrNot indent_text = kDoNotIndentText;
if (is_first_line || (is_after_hard_line_break &&
- style.GetTextIndentLine()) == kTextIndentEachLine)
+ style.GetTextIndentLine()) == TextIndentLine::kEachLine)
indent_text = kIndentText;
if (style.GetTextIndentType() == kTextIndentHanging)

Powered by Google App Engine
This is Rietveld 408576698