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

Unified Diff: Source/core/rendering/RenderTableRow.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/RenderTableCol.cpp ('k') | Source/core/rendering/RenderTableSection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderTableRow.cpp
diff --git a/Source/core/rendering/RenderTableRow.cpp b/Source/core/rendering/RenderTableRow.cpp
index 7179308aebef022e8b53b818abecd7c924141bfc..dd763a7592dffeb8e2b743fdfeb040d006959013 100644
--- a/Source/core/rendering/RenderTableRow.cpp
+++ b/Source/core/rendering/RenderTableRow.cpp
@@ -184,11 +184,11 @@ void RenderTableRow::layout()
// We only ever need to issue paint invalidations if our cells didn't, which means that they didn't need
// layout, so we know that our bounds didn't change. This code is just making up for
// the fact that we did not invalidate paints in setStyle() because we had a layout hint.
- // We cannot call repaint() because our clippedOverflowRectForPaintInvalidation() is taken from the
+ // We cannot call paintInvalidationForWholeRenderer() because our clippedOverflowRectForPaintInvalidation() is taken from the
// parent table, and being mid-layout, that is invalid. Instead, we issue paint invalidations for our cells.
if (selfNeedsLayout() && checkForPaintInvalidation()) {
for (RenderTableCell* cell = firstCell(); cell; cell = cell->nextCell()) {
- // FIXME: Is this needed with Repaint After Layout?
+ // FIXME: Is this needed when issuing paint invalidations after layout?
cell->setShouldDoFullPaintInvalidation(true);
}
}
@@ -244,7 +244,7 @@ void RenderTableRow::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
void RenderTableRow::imageChanged(WrappedImagePtr, const IntRect*)
{
- // FIXME: Examine cells and repaint only the rect the image paints in.
+ // FIXME: Examine cells and issue paint invalidations of only the rect the image paints in.
paintInvalidationForWholeRenderer();
}
« no previous file with comments | « Source/core/rendering/RenderTableCol.cpp ('k') | Source/core/rendering/RenderTableSection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698