Index: third_party/WebKit/Source/core/style/ComputedStyle.h |
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h |
index 43a50f38e72e63e93ccdbaceed4dc926c299b7ea..015359129b98846414a1331d8391748a0d1e01eb 100644 |
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h |
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h |
@@ -1664,7 +1664,9 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase<ComputedStyle>, |
// text-indent |
static Length InitialTextIndent() { return Length(kFixed); } |
- static TextIndentLine InitialTextIndentLine() { return kTextIndentFirstLine; } |
+ static TextIndentLine InitialTextIndentLine() { |
+ return TextIndentLine::kFirstLine; |
+ } |
static TextIndentType InitialTextIndentType() { return kTextIndentNormal; } |
const Length& TextIndent() const { |
return rare_inherited_data_->text_indent_; |
@@ -1679,7 +1681,7 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase<ComputedStyle>, |
SET_VAR(rare_inherited_data_, text_indent_, v); |
} |
void SetTextIndentLine(TextIndentLine v) { |
- SET_VAR(rare_inherited_data_, text_indent_line_, v); |
+ SET_VAR(rare_inherited_data_, text_indent_line_, static_cast<unsigned>(v)); |
} |
void SetTextIndentType(TextIndentType v) { |
SET_VAR(rare_inherited_data_, text_indent_type_, v); |