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

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

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/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 4e4952e15bfca66398f03db8f57db6a0ad0b09cb..06266cc7c5de7afe6a9d141858010b6c9ca251bf 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
@@ -489,7 +489,7 @@ void StyleBuilderFunctions::applyValueCSSPropertyTextIndent(
text_indent_line_value = TextIndentLine::kEachLine;
} else if (ToCSSIdentifierValue(*list_value).GetValueID() ==
CSSValueHanging) {
- text_indent_type_value = kTextIndentHanging;
+ text_indent_type_value = TextIndentType::kHanging;
} else {
NOTREACHED();
}

Powered by Google App Engine
This is Rietveld 408576698