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

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

Issue 2905493008: Make TextIndentType an enum class. (Closed)
Patch Set: Rebase 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 215dec04aa34681af612358997aeab02fbb945d6..3a59fbf7deb7af97de3d6d9b578a98717d7e5371 100644
--- a/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h
+++ b/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h
@@ -1564,7 +1564,7 @@ inline IndentTextOrNot RequiresIndent(bool is_first_line,
style.GetTextIndentLine()) == TextIndentLine::kEachLine)
indent_text = kIndentText;
- if (style.GetTextIndentType() == kTextIndentHanging)
+ if (style.GetTextIndentType() == TextIndentType::kHanging)
indent_text = indent_text == kIndentText ? kDoNotIndentText : kIndentText;
return indent_text;

Powered by Google App Engine
This is Rietveld 408576698