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

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

Issue 478733002: Rename repaint to paintInvalidation for remaining methods. (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/rendering/RenderObject.cpp ('k') | Source/core/rendering/RenderRegion.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderObjectChildList.cpp
diff --git a/Source/core/rendering/RenderObjectChildList.cpp b/Source/core/rendering/RenderObjectChildList.cpp
index 0a9798bcdeb520ece2b2873c0cc4f8697ffc53d6..02d30e8c838ceeef2f702b46b7473601b2862d98 100644
--- a/Source/core/rendering/RenderObjectChildList.cpp
+++ b/Source/core/rendering/RenderObjectChildList.cpp
@@ -63,15 +63,15 @@ RenderObject* RenderObjectChildList::removeChildNode(RenderObject* owner, Render
toRenderBox(oldChild)->removeFloatingOrPositionedChildFromBlockLists();
{
- // FIXME: We should not be allowing repaint during layout. crbug.com/336250
+ // FIXME: We should not be allowing paint invalidation during layout. crbug.com/336250
AllowPaintInvalidationScope scoper(owner->frameView());
// So that we'll get the appropriate dirty bit set (either that a normal flow child got yanked or
- // that a positioned child got yanked). We also repaint, so that the area exposed when the child
- // disappears gets repainted properly.
+ // 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();
- // We only repaint |oldChild| if we have a RenderLayer as its visual overflow may not be tracked by its parent.
+ // We only issue paint invalidations for |oldChild| if we have a RenderLayer as its visual overflow may not be tracked by its parent.
if (oldChild->isBody())
owner->view()->paintInvalidationForWholeRenderer();
else
« no previous file with comments | « Source/core/rendering/RenderObject.cpp ('k') | Source/core/rendering/RenderRegion.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698