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 { |