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 60568dbb9c73833d2c8826f4b5e160f0e7f250b6..2e70ff7caecbe7b5fbe6d80f0a5890a8ab4f4c8b 100644 |
--- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
@@ -367,8 +367,6 @@ void ComputedStyle::copyNonInheritedFromCached(const ComputedStyle& other) { |
other.m_nonInheritedData.m_effectiveDisplay; |
m_nonInheritedData.m_originalDisplay = |
other.m_nonInheritedData.m_originalDisplay; |
- m_nonInheritedData.m_overflowX = other.m_nonInheritedData.m_overflowX; |
- m_nonInheritedData.m_overflowY = other.m_nonInheritedData.m_overflowY; |
m_nonInheritedData.m_verticalAlign = other.m_nonInheritedData.m_verticalAlign; |
m_nonInheritedData.m_position = other.m_nonInheritedData.m_position; |
m_nonInheritedData.m_hasViewportUnits = |
@@ -811,8 +809,7 @@ bool ComputedStyle::diffNeedsFullLayoutAndPaintInvalidation( |
getWritingMode() != other.getWritingMode()) |
return true; |
- if (m_nonInheritedData.m_overflowX != other.m_nonInheritedData.m_overflowX || |
- m_nonInheritedData.m_overflowY != other.m_nonInheritedData.m_overflowY || |
+ if (overflowX() != other.overflowX() || overflowY() != other.overflowY() || |
clear() != other.clear() || getUnicodeBidi() != other.getUnicodeBidi() || |
floating() != other.floating() || |
m_nonInheritedData.m_originalDisplay != |