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

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp

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/css/resolver/StyleBuilderCustom.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp b/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
index aa6114b331c76267666cc0f0edfd0014dfc81c17..4e4952e15bfca66398f03db8f57db6a0ad0b09cb 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
@@ -486,7 +486,7 @@ void StyleBuilderFunctions::applyValueCSSPropertyTextIndent(
.ConvertToLength(state.CssToLengthConversionData());
} else if (ToCSSIdentifierValue(*list_value).GetValueID() ==
CSSValueEachLine) {
- text_indent_line_value = kTextIndentEachLine;
+ text_indent_line_value = TextIndentLine::kEachLine;
} else if (ToCSSIdentifierValue(*list_value).GetValueID() ==
CSSValueHanging) {
text_indent_type_value = kTextIndentHanging;

Powered by Google App Engine
This is Rietveld 408576698