Index: Source/core/rendering/RenderBox.cpp |
diff --git a/Source/core/rendering/RenderBox.cpp b/Source/core/rendering/RenderBox.cpp |
index aa1217e66176cb9b2846b5f1a82fb33696a7f463..e6a06d4cc97ffa0d79910954a09cb167f3ee3c10 100644 |
--- a/Source/core/rendering/RenderBox.cpp |
+++ b/Source/core/rendering/RenderBox.cpp |
@@ -1603,7 +1603,8 @@ void RenderBox::invalidateTreeAfterLayout(const RenderLayerModelObject& paintInv |
const LayoutRect& newPaintInvalidationRect = previousPaintInvalidationRect(); |
const LayoutPoint& newPositionFromPaintInvalidationContainer = previousPositionFromPaintInvalidationContainer(); |
bool didFullPaintInvalidation = invalidatePaintAfterLayoutIfNeeded(&newPaintInvalidationContainer, |
- shouldDoFullPaintInvalidationAfterLayout(), oldPaintInvalidationRect, oldPositionFromPaintInvalidationContainer, |
+ shouldDoFullPaintInvalidationAfterLayout() ? InvalidationFull : InvalidationIncremental, |
+ oldPaintInvalidationRect, oldPositionFromPaintInvalidationContainer, |
&newPaintInvalidationRect, &newPositionFromPaintInvalidationContainer); |
if (!didFullPaintInvalidation) |