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

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

Issue 332543002: Rename Repaint to Paint Invalidation Part 4 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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.cpp » ('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 94583ecdb47a1cad474a67463044c6a1139f51be..eb46ea87ca2c86ce6f7c1733690d36ddc8595db8 100644
--- a/Source/core/rendering/RenderTableRow.cpp
+++ b/Source/core/rendering/RenderTableRow.cpp
@@ -179,9 +179,9 @@ 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 clippedOverflowRectForRepaint() is taken from the
+ // We cannot call repaint() 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() && checkForRepaint()) {
+ if (selfNeedsLayout() && checkForPaintInvalidation()) {
for (RenderTableCell* cell = firstCell(); cell; cell = cell->nextCell()) {
if (RuntimeEnabledFeatures::repaintAfterLayoutEnabled()) {
// FIXME: Is this needed with Repaint After Layout?
« no previous file with comments | « Source/core/rendering/RenderTableCol.cpp ('k') | Source/core/rendering/RenderTableSection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698