| 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 c34f015f117fe93645f799bbbb2ac7194015bc9b..8f0e728c86ebf7fa904ab3d8f26ba55fe7d9e45d 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);
|
|
|