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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTable.cpp

Issue 1391753005: (WIP) Invalidation during painting (for synchronized painting) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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: third_party/WebKit/Source/core/layout/LayoutTable.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTable.cpp b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
index aa62071142fcc9df8fcacffe04b5a3a413590236..7dfd53994139a4794f7cf223fedb65c8255d4d96 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTable.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
@@ -1401,11 +1401,7 @@ PaintInvalidationReason LayoutTable::invalidatePaintIfNeeded(PaintInvalidationSt
// Information of collapsed borders doesn't affect layout and are for painting only.
// Do it now instead of during painting to invalidate table cells if needed.
recalcCollapsedBordersIfNeeded();
- return LayoutBlock::invalidatePaintIfNeeded(paintInvalidationState, paintInvalidationContainer);
-}
-void LayoutTable::invalidatePaintOfSubtreesIfNeeded(PaintInvalidationState& childPaintInvalidationState)
-{
// Table cells paint background from the containing column group, column, section and row.
// If background of any of them changed, we need to invalidate all affected cells.
// Here use shouldDoFullPaintInvalidation() as a broader condition of background change.
@@ -1432,7 +1428,7 @@ void LayoutTable::invalidatePaintOfSubtreesIfNeeded(PaintInvalidationState& chil
}
}
- LayoutBlock::invalidatePaintOfSubtreesIfNeeded(childPaintInvalidationState);
+ return LayoutBlock::invalidatePaintIfNeeded(paintInvalidationState, paintInvalidationContainer);
}
LayoutUnit LayoutTable::paddingTop() const
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTable.h ('k') | third_party/WebKit/Source/core/layout/LayoutTableCol.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698