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 a541b242260e9fc510be933094d0f12474574e54..0b7a709d1b2b7b199213d8646e457c5a73c43f17 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 { |