| Index: third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp b/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
|
| index dd75dc792506a9ad42cbe95ba07b312ff959ab06..95d8c81a468ff70ccecf2de483c16f43658b7123 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
|
| @@ -122,6 +122,8 @@ void LayoutTableCell::willBeRemovedFromTree() {
|
|
|
| unsigned LayoutTableCell::parseColSpanFromDOM() const {
|
| ASSERT(node());
|
| + // TODO(dgrogan): HTMLTableCellElement::colSpan() already clamps to something
|
| + // smaller than maxColumnIndex; can we just DCHECK here?
|
| if (isHTMLTableCellElement(*node()))
|
| return std::min<unsigned>(toHTMLTableCellElement(*node()).colSpan(),
|
| maxColumnIndex);
|
|
|