Index: third_party/WebKit/Source/core/style/ComputedStyle.cpp |
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.cpp b/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
index 41cce8b39562275ee51fa60ed2735da35cb0a21a..9b83099139f12bdb4b445249c5b6a0f6cb08abf8 100644 |
--- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
@@ -734,7 +734,7 @@ bool ComputedStyle::diffNeedsFullLayoutAndPaintInvalidation(const ComputedStyle& |
|| (borderRightStyle() == BorderStyleHidden && other.borderRightStyle() == BorderStyleNone) |
|| (borderRightStyle() == BorderStyleNone && other.borderRightStyle() == BorderStyleHidden))) |
return true; |
- } else if (m_nonInheritedData.m_effectiveDisplay == LIST_ITEM) { |
+ } else if (display() == EDisplay::ListItem) { |
if (m_inheritedData.m_listStyleType != other.m_inheritedData.m_listStyleType |
|| m_inheritedData.m_listStylePosition != other.m_inheritedData.m_listStylePosition) |
return true; |