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

Unified Diff: Source/core/rendering/RenderTableSection.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/RenderTableRow.cpp ('k') | Source/core/rendering/RenderText.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderTableSection.cpp
diff --git a/Source/core/rendering/RenderTableSection.cpp b/Source/core/rendering/RenderTableSection.cpp
index c974495baa32fccdc6b0304016f2c8a0da4270af..0180cd131718d7fabd1d074ad3c31d9fdf087b87 100644
--- a/Source/core/rendering/RenderTableSection.cpp
+++ b/Source/core/rendering/RenderTableSection.cpp
@@ -1002,7 +1002,7 @@ void RenderTableSection::layoutRows()
// If the child moved, we have to repaint it as well as any floating/positioned
// descendants. An exception is if we need a layout. In this case, we know we're going to
// repaint ourselves (and the child) anyway.
- if (!table()->selfNeedsLayout() && cell->checkForRepaint()) {
+ if (!table()->selfNeedsLayout() && cell->checkForPaintInvalidation()) {
if (RuntimeEnabledFeatures::repaintAfterLayoutEnabled())
cell->setMayNeedPaintInvalidation(true);
else
@@ -1516,7 +1516,7 @@ void RenderTableSection::recalcCells()
}
m_grid.shrinkToFit();
- setNeedsLayoutAndFullRepaint();
+ setNeedsLayoutAndFullPaintInvalidation();
}
// FIXME: This function could be made O(1) in certain cases (like for the non-most-constrainive cells' case).
« no previous file with comments | « Source/core/rendering/RenderTableRow.cpp ('k') | Source/core/rendering/RenderText.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698