Chromium Code Reviews| Index: Source/core/rendering/RenderObject.h |
| diff --git a/Source/core/rendering/RenderObject.h b/Source/core/rendering/RenderObject.h |
| index 6759aed9f69c39b2cc43c88c318cbcb6e3a4df35..3e91705c8af6b5f0ef377bd78b7bf9a5271aeb60 100644 |
| --- a/Source/core/rendering/RenderObject.h |
| +++ b/Source/core/rendering/RenderObject.h |
| @@ -1091,6 +1091,12 @@ public: |
| void setNeedsOverflowRecalcAfterStyleChange(); |
| void markContainingBlocksForOverflowRecalc(); |
| + // Invalidate the paint of the entire object. |
| + // FIXME: This should be private and be only used when a renderer is to be removed, |
| + // but we still have some cases needing it to be used from outside. |
| + // For other cases, the caller should call setShouldDoFullPaintInvalidation() instead. |
| + void invalidatePaintForWholeRenderer() const; |
|
Julien - ping for review
2014/08/22 18:53:09
I think we should not expose invalidatePaintForWho
Xianzhu
2014/08/22 19:11:21
Done.
|
| + |
| protected: |
| inline bool layerCreationAllowedForSubtree() const; |
| @@ -1158,10 +1164,6 @@ protected: |
| #endif |
| 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. |
| - void invalidatePaintForWholeRenderer() const; |
| - |
| const RenderLayerModelObject* enclosingCompositedContainer() const; |
| RenderFlowThread* locateFlowThreadContainingBlock() const; |