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 075627104e4918147f9a9af3e2478da6cf702562..e73f6b244e5c8f188e1f73a1ca2ed4068a410f18 100644 |
--- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
@@ -540,7 +540,7 @@ StyleDifference ComputedStyle::visualInvalidationDiff( |
if (m_svgStyle.get() != other.m_svgStyle.get()) |
diff = m_svgStyle->diff(other.m_svgStyle.get()); |
- if ((!diff.needsFullLayout() || !diff.needsPaintInvalidation()) && |
+ if ((!diff.needsFullLayout() || !diff.needsFullPaintInvalidation()) && |
diffNeedsFullLayoutAndPaintInvalidation(other)) { |
diff.setNeedsFullLayout(); |
diff.setNeedsPaintInvalidationObject(); |
@@ -1070,7 +1070,7 @@ void ComputedStyle::updatePropertySpecificDifferences( |
if (!m_surround->border.visualOverflowEqual(other.m_surround->border)) |
diff.setNeedsRecomputeOverflow(); |
- if (!diff.needsPaintInvalidation()) { |
+ if (!diff.needsFullPaintInvalidation()) { |
if (m_styleInheritedData->color != other.m_styleInheritedData->color || |
m_styleInheritedData->visitedLinkColor != |
other.m_styleInheritedData->visitedLinkColor || |