Chromium Code Reviews| Index: Source/core/rendering/RenderObject.h |
| diff --git a/Source/core/rendering/RenderObject.h b/Source/core/rendering/RenderObject.h |
| index f9485675c11fdb46810c8ec0689d0a86ed53d01c..4d4d473828f4c46236deb68443fe67b218685172 100644 |
| --- a/Source/core/rendering/RenderObject.h |
| +++ b/Source/core/rendering/RenderObject.h |
| @@ -866,9 +866,6 @@ public: |
| // Invalidate the paint of a specific subrectangle within a given object. The rect |r| is in the object's coordinate space. |
| void invalidatePaintRectangle(const LayoutRect&) const; |
| - InvalidationReason invalidatePaintIfNeeded(const RenderLayerModelObject& paintInvalidationContainer, |
| - const LayoutRect& oldBounds, const LayoutPoint& oldPositionFromPaintInvalidationContainer, const PaintInvalidationState&); |
| - |
| // Walk the tree after layout issuing paint invalidations for renderers that have changed or moved, updating bounds that have changed, and clearing paint invalidation state. |
| virtual void invalidateTreeIfNeeded(const PaintInvalidationState&); |
| @@ -1145,6 +1142,9 @@ protected: |
| } |
| #endif |
| + void invalidateSubtreesIfNeeded(const PaintInvalidationState&); |
|
dsinclair
2014/09/03 14:14:47
invalidatePaintOfSubtreesIfNeeded
Xianzhu
2014/09/03 17:11:15
Done.
|
| + virtual InvalidationReason invalidatePaintIfNeeded(const PaintInvalidationState&, const RenderLayerModelObject& paintInvalidationContainer); |
| + |
| private: |
| // Invalidate the paint of the entire object. This is only used when a renderer is to be removed. |
| // For other cases, the caller should call setShouldDoFullPaintInvalidation() instead. |