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

Unified Diff: third_party/WebKit/Source/core/paint/TableCellPaintInvalidator.cpp

Issue 2884573002: Replace LayoutTableCell::AbsoluteColumnIndex() with EffectiveColumnIndex()
Patch Set: - Created 3 years, 7 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/paint/TableCellPaintInvalidator.cpp
diff --git a/third_party/WebKit/Source/core/paint/TableCellPaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/TableCellPaintInvalidator.cpp
index 95bc174068acdc4cb8278061ba08564239699a66..e57862abd26155251999af779971df23d55930e8 100644
--- a/third_party/WebKit/Source/core/paint/TableCellPaintInvalidator.cpp
+++ b/third_party/WebKit/Source/core/paint/TableCellPaintInvalidator.cpp
@@ -36,8 +36,7 @@ PaintInvalidationReason TableCellPaintInvalidator::InvalidatePaint() {
PaintInvalidationReason::kNone) {
bool section_paints_background = section.StyleRef().HasBackground();
if (!section_paints_background) {
- auto col_and_colgroup = section.Table()->ColElementAtAbsoluteColumn(
- cell_.AbsoluteColumnIndex());
+ auto col_and_colgroup = cell_.GetColAndColGroup();
if ((col_and_colgroup.col &&
col_and_colgroup.col->StyleRef().HasBackground()) ||
(col_and_colgroup.colgroup &&

Powered by Google App Engine
This is Rietveld 408576698