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

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

Issue 2630723002: Fix blink_perf.paint regression about tables (Closed)
Patch Set: Nits Created 3 years, 11 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 | « no previous file | third_party/WebKit/Source/core/layout/LayoutTableSection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b0a6337f490370f973cdadea505b036af51ef7b8..b4048d931ea0dbc75ceced2745b708a72f761f56 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTable.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
@@ -1486,9 +1486,7 @@ LayoutTableCell* LayoutTable::cellBefore(const LayoutTableCell* cell) const {
return nullptr;
// If we hit a colspan back up to a real cell.
- LayoutTableSection::CellStruct& prevCell =
- section->cellAt(cell->rowIndex(), effCol - 1);
- return prevCell.primaryCell();
+ return section->primaryCellAt(cell->rowIndex(), effCol - 1);
}
LayoutTableCell* LayoutTable::cellAfter(const LayoutTableCell* cell) const {
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutTableSection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698