Chromium Code Reviews| 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..1a167227ce3ef4418c8752ec24bb3860449b63c0 100644 |
| --- a/third_party/WebKit/Source/core/paint/BoxPaintInvalidator.h |
| +++ b/third_party/WebKit/Source/core/paint/BoxPaintInvalidator.h |
| @@ -28,13 +28,21 @@ class BoxPaintInvalidator { |
| PaintInvalidationReason invalidatePaintIfNeeded(); |
| private: |
| + bool backgroundGeometryDependsOnLayoutOverflowRect(); |
| + bool backgroundPaintsOntoScrollingContentsLayer(); |
| + bool shouldFullyInvalidateBackgroundOnLayoutOverflowChange(const LayoutRect&, |
|
chrishtr
2016/11/17 20:42:36
Document these two arguments
Xianzhu
2016/11/17 23:36:41
Done.
|
| + const LayoutRect&); |
| + 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(); |