Index: third_party/WebKit/Source/core/paint/BoxPaintInvalidator.h |
diff --git a/third_party/WebKit/Source/core/paint/BoxPaintInvalidator.h b/third_party/WebKit/Source/core/paint/BoxPaintInvalidator.h |
index 872821e9ff64cf68a5a8449d3516379bdb516461..76e2b8ec581220d71f25ebff98182fce2d4e14f8 100644 |
--- a/third_party/WebKit/Source/core/paint/BoxPaintInvalidator.h |
+++ b/third_party/WebKit/Source/core/paint/BoxPaintInvalidator.h |
@@ -28,13 +28,22 @@ class BoxPaintInvalidator { |
PaintInvalidationReason invalidatePaintIfNeeded(); |
private: |
+ bool backgroundGeometryDependsOnLayoutOverflowRect(); |
+ bool backgroundPaintsOntoScrollingContentsLayer(); |
+ bool shouldFullyInvalidateBackgroundOnLayoutOverflowChange( |
+ const LayoutRect& oldLayoutOverflow, |
+ const LayoutRect& newLayoutOverflow); |
+ void invalidateScrollingContentsBackgroundIfNeeded(); |
+ |
PaintInvalidationReason computePaintInvalidationReason(); |
- bool incrementallyInvalidatePaint(); |
+ bool incrementallyInvalidatePaint(PaintInvalidationReason, |
+ const LayoutRect& oldRect, |
+ const LayoutRect& newRect); |
bool needsToSavePreviousBoxGeometries(); |
void savePreviousBoxGeometriesIfNeeded(); |
- LayoutSize previousBorderBoxSize(const LayoutSize& previousVisualRectSize); |
+ LayoutSize previousBorderBoxSize(); |
LayoutRect previousContentBoxRect(); |
LayoutRect previousLayoutOverflowRect(); |