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

Unified Diff: sky/engine/core/rendering/RenderObjectChildList.cpp

Issue 840483004: Get rid of the *AndFullPaintInvalidation methods. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « sky/engine/core/rendering/RenderObject.h ('k') | sky/engine/core/rendering/RenderParagraph.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/rendering/RenderObjectChildList.cpp
diff --git a/sky/engine/core/rendering/RenderObjectChildList.cpp b/sky/engine/core/rendering/RenderObjectChildList.cpp
index 97b10ed22661aacee6b77e475aa694170953e175..f0dc8cd004011ae1ad2167fd450531456e187cdc 100644
--- a/sky/engine/core/rendering/RenderObjectChildList.cpp
+++ b/sky/engine/core/rendering/RenderObjectChildList.cpp
@@ -59,7 +59,7 @@ RenderObject* RenderObjectChildList::removeChildNode(RenderObject* owner, Render
// that a positioned child got yanked). We also issue paint invalidations, so that the area exposed when the child
// disappears gets paint invalidated properly.
if (!owner->documentBeingDestroyed() && notifyRenderer && oldChild->everHadLayout())
- oldChild->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation();
+ oldChild->setNeedsLayoutAndPrefWidthsRecalc();
}
// If we have a line box wrapper, delete it.
@@ -134,7 +134,7 @@ void RenderObjectChildList::insertChildNode(RenderObject* owner, RenderObject* n
if (!owner->documentBeingDestroyed() && notifyRenderer)
newChild->insertedIntoTree();
- newChild->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation();
+ newChild->setNeedsLayoutAndPrefWidthsRecalc();
if (!owner->normalChildNeedsLayout())
owner->setChildNeedsLayout(); // We may supply the static position for an absolute positioned child.
}
« no previous file with comments | « sky/engine/core/rendering/RenderObject.h ('k') | sky/engine/core/rendering/RenderParagraph.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698