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 825e0e5fd7be9d75e7f6a0679674c4c4c12afb5b..261bc9be1f6e3dabcc34f0d2f167b9e1b7e71406 100644 |
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h |
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h |
@@ -301,7 +301,8 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase, |
ComputedStyleBase::setBitDefaults(); |
m_inheritedData.m_hasSimpleUnderline = false; |
m_inheritedData.m_cursorStyle = static_cast<unsigned>(initialCursor()); |
- m_inheritedData.m_insideLink = NotInsideLink; |
+ m_inheritedData.m_insideLink = |
+ static_cast<unsigned>(EInsideLink::kNotInsideLink); |
m_nonInheritedData.m_effectiveDisplay = |
m_nonInheritedData.m_originalDisplay = |
@@ -2592,7 +2593,7 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase, |
return static_cast<EInsideLink>(m_inheritedData.m_insideLink); |
} |
void setInsideLink(EInsideLink insideLink) { |
- m_inheritedData.m_insideLink = insideLink; |
+ m_inheritedData.m_insideLink = static_cast<unsigned>(insideLink); |
} |
bool hasExplicitlyInheritedProperties() const { |