| Index: third_party/WebKit/Source/core/layout/LayoutTableCell.h
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutTableCell.h b/third_party/WebKit/Source/core/layout/LayoutTableCell.h
|
| index 2733782f867c284aa0fe936a754b6375926d3832..1380b1907c857889972587d5570bdbe86d23067f 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTableCell.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTableCell.h
|
| @@ -347,6 +347,14 @@ class CORE_EXPORT LayoutTableCell final : public LayoutBlockFlow {
|
|
|
| bool HasLineIfEmpty() const override;
|
|
|
| + static bool CompareInDOMOrder(const LayoutTableCell* cell1,
|
| + const LayoutTableCell* cell2) {
|
| + DCHECK(cell1->Section() == cell2->Section());
|
| + if (cell1->RowIndex() == cell2->RowIndex())
|
| + return cell1->absolute_column_index_ < cell2->absolute_column_index_;
|
| + return cell1->RowIndex() < cell2->RowIndex();
|
| + }
|
| +
|
| protected:
|
| void StyleDidChange(StyleDifference, const ComputedStyle* old_style) override;
|
| void ComputePreferredLogicalWidths() override;
|
|
|