Index: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp |
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp |
index 631edc673c5b312365665f163c0027f2c72a47c7..2195dd2dd6621e590f95d99727aba23516cab2d1 100644 |
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp |
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp |
@@ -2406,7 +2406,7 @@ IntRect CompositedLayerMapping::computeInterestRect(const GraphicsLayer* graphic |
return wholeLayerRect; |
IntRect newInterestRect = recomputeInterestRect(graphicsLayer); |
- if (interestRectChangedEnoughToRepaint(previousInterestRect, newInterestRect, expandedIntSize(graphicsLayer->size()))) |
+ if (needsRepaint(*graphicsLayer) || interestRectChangedEnoughToRepaint(previousInterestRect, newInterestRect, expandedIntSize(graphicsLayer->size()))) |
return newInterestRect; |
return previousInterestRect; |
} |