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 fca60578af7bb40c36feca861b0921ec36f826e8..41cce8b39562275ee51fa60ed2735da35cb0a21a 100644 |
--- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
@@ -715,7 +715,7 @@ bool ComputedStyle::diffNeedsFullLayoutAndPaintInvalidation(const ComputedStyle& |
|| m_nonInheritedData.m_originalDisplay != other.m_nonInheritedData.m_originalDisplay) |
return true; |
- if (m_nonInheritedData.m_effectiveDisplay >= FIRST_TABLE_DISPLAY && m_nonInheritedData.m_effectiveDisplay <= LAST_TABLE_DISPLAY) { |
+ if (isDisplayTableType(display())) { |
if (m_inheritedData.m_borderCollapse != other.m_inheritedData.m_borderCollapse |
|| m_inheritedData.m_emptyCells != other.m_inheritedData.m_emptyCells |
|| m_inheritedData.m_captionSide != other.m_inheritedData.m_captionSide |