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..62437b73d73e735d2a59e7f4f7d7b8f6bd63ba54 100644 |
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h |
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h |
@@ -1810,12 +1810,13 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase<ComputedStyle>, |
} |
// -webkit-ruby-position |
- static RubyPosition InitialRubyPosition() { return kRubyPositionBefore; } |
+ static RubyPosition InitialRubyPosition() { return RubyPosition::kBefore; } |
RubyPosition GetRubyPosition() const { |
return static_cast<RubyPosition>(rare_inherited_data_->ruby_position_); |
} |
void SetRubyPosition(RubyPosition position) { |
- SET_VAR(rare_inherited_data_, ruby_position_, position); |
+ SET_VAR(rare_inherited_data_, ruby_position_, |
+ static_cast<unsigned>(position)); |
} |
// -webkit-tap-highlight-color |