Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
index 3d8e6aff6c568f4f62405a253c1bb7be86cca4a2..518b58241a1efde6ecd32c490278996d2a1551f7 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
@@ -190,7 +190,7 @@ void LayoutBox::styleWillChange(StyleDifference diff, |
// The background of the root element or the body element could propagate up |
// to the canvas. Just dirty the entire canvas when our style changes |
// substantially. |
- if ((diff.needsPaintInvalidation() || diff.needsLayout()) && node() && |
+ if ((diff.needsFullPaintInvalidation() || diff.needsLayout()) && node() && |
(isHTMLHtmlElement(*node()) || isHTMLBodyElement(*node()))) { |
view()->setShouldDoFullPaintInvalidation(); |
@@ -283,7 +283,7 @@ void LayoutBox::styleDidChange(StyleDifference diff, |
} |
// Our opaqueness might have changed without triggering layout. |
- if (diff.needsPaintInvalidation()) { |
+ if (diff.needsFullPaintInvalidation()) { |
LayoutObject* parentToInvalidate = parent(); |
for (unsigned i = 0; |
i < backgroundObscurationTestMaxDepth && parentToInvalidate; ++i) { |