Index: third_party/WebKit/Source/core/style/OutlineValue.h |
diff --git a/third_party/WebKit/Source/core/style/OutlineValue.h b/third_party/WebKit/Source/core/style/OutlineValue.h |
index 5cbc5aa5d46c726ac9bc2e256debd5e77dfb63e0..82034e6b86d0ed87626c7de17a721278fe4dff68 100644 |
--- a/third_party/WebKit/Source/core/style/OutlineValue.h |
+++ b/third_party/WebKit/Source/core/style/OutlineValue.h |
@@ -45,7 +45,8 @@ class OutlineValue final : public BorderValue { |
bool operator!=(const OutlineValue& o) const { return !(*this == o); } |
bool VisuallyEqual(const OutlineValue& o) const { |
- if (style_ == kBorderStyleNone && o.style_ == kBorderStyleNone) |
+ if (style_ == static_cast<unsigned>(EBorderStyle::kNone) && |
+ o.style_ == static_cast<unsigned>(EBorderStyle::kNone)) |
return true; |
return *this == o; |
} |