| Index: third_party/WebKit/Source/core/html/HTMLTableRowElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLTableRowElement.cpp b/third_party/WebKit/Source/core/html/HTMLTableRowElement.cpp
|
| index 189ed69fcb9275e61213562f6403c7a4c839e53d..3a86b11717625760f3789adeb987a9e283a7ca37 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLTableRowElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLTableRowElement.cpp
|
| @@ -75,6 +75,10 @@ int HTMLTableRowElement::rowIndex() const {
|
| }
|
|
|
| int HTMLTableRowElement::sectionRowIndex() const {
|
| + ContainerNode* maybeTable = parentNode();
|
| + if (!(maybeTable && (isHTMLTableSectionElement(maybeTable) ||
|
| + isHTMLTableElement(maybeTable))))
|
| + return -1;
|
| int rIndex = 0;
|
| const Node* n = this;
|
| do {
|
|
|