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

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

Issue 389573008: Enforce clearing renderers' paint invalidation state (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
Index: Source/core/rendering/RenderObject.cpp
diff --git a/Source/core/rendering/RenderObject.cpp b/Source/core/rendering/RenderObject.cpp
index cf908bc9ee0cdf220f74e46b988d7af09d74b339..51f619d2c032ab41f59bc1a55919e10a4d783ac6 100644
--- a/Source/core/rendering/RenderObject.cpp
+++ b/Source/core/rendering/RenderObject.cpp
@@ -3395,6 +3395,10 @@ bool RenderObject::isRelayoutBoundaryForInspector() const
void RenderObject::clearPaintInvalidationState()
{
+ // paintInvalidationStateIsDirty should be kept in sync with the
+ // booleans that are cleared below.
+ ASSERT(paintInvalidationStateIsDirty());
dsinclair 2014/07/11 20:48:55 Is this needed? We're basically checking that we n
Julien - ping for review 2014/07/11 20:52:46 It's here for 2 reasons: - Ensure that clearPaintI
+
setShouldDoFullPaintInvalidationAfterLayout(false);
setShouldDoFullPaintInvalidationIfSelfPaintingLayer(false);
setOnlyNeededPositionedMovementLayout(false);
« Source/core/rendering/RenderObject.h ('K') | « Source/core/rendering/RenderObject.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698