Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1607)

Unified Diff: Source/core/rendering/RenderObject.h

Issue 499493003: Temporarily let DocumentMakerController use invalidatePaintForWholeRenderer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/DocumentMarkerControllerTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/core/dom/DocumentMarkerControllerTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698