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 77a3e506ed808ccb2e383dff2070fb6667c8ba65..64d58d53acfba6c69085cd8bf0fe5ec81078cb9f 100644 |
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h |
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h |
@@ -1537,12 +1537,14 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase, |
// Text decoration properties. |
// text-decoration-line |
- static TextDecoration InitialTextDecoration() { return kTextDecorationNone; } |
+ static TextDecoration InitialTextDecoration() { |
+ return TextDecoration::kNone; |
+ } |
TextDecoration GetTextDecoration() const { |
return static_cast<TextDecoration>(visual_data_->text_decoration_); |
} |
void SetTextDecoration(TextDecoration v) { |
- SET_VAR(visual_data_, text_decoration_, v); |
+ SET_VAR(visual_data_, text_decoration_, static_cast<unsigned>(v)); |
} |
// text-decoration-color |