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

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

Issue 264963004: Mark when we may have been invalidated to early out on repaintTreeAfterLayout. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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
Index: Source/core/rendering/RenderTable.cpp
diff --git a/Source/core/rendering/RenderTable.cpp b/Source/core/rendering/RenderTable.cpp
index b1dfd7ee6304aad949a29421810b0daa77db4f10..681daf1baa567aef4162056e2273ca7d1acf1fa5 100644
--- a/Source/core/rendering/RenderTable.cpp
+++ b/Source/core/rendering/RenderTable.cpp
@@ -413,6 +413,8 @@ void RenderTable::layout()
{
ASSERT(needsLayout());
+ setMayNeedInvalidation(true);
+
if (simplifiedLayout())
return;
@@ -428,7 +430,6 @@ void RenderTable::layout()
LayoutRepainter repainter(*this, checkForRepaintDuringLayout());
SubtreeLayoutScope layouter(*this);
-
// If any table section moved vertically, we will just repaint everything from that
// section down (it is quite unlikely that any of the following sections
// did not shift).

Powered by Google App Engine
This is Rietveld 408576698