| Index: third_party/WebKit/Source/core/html/HTMLTableSectionElement.cpp | 
| diff --git a/third_party/WebKit/Source/core/html/HTMLTableSectionElement.cpp b/third_party/WebKit/Source/core/html/HTMLTableSectionElement.cpp | 
| index 4c602ca3aaa390a0c59cdc8a22f3cef0b3b7b670..89198c3e369b4cd1705ad9782a621e171c93a76a 100644 | 
| --- a/third_party/WebKit/Source/core/html/HTMLTableSectionElement.cpp | 
| +++ b/third_party/WebKit/Source/core/html/HTMLTableSectionElement.cpp | 
| @@ -74,8 +74,11 @@ void HTMLTableSectionElement::deleteRow(int index, ExceptionState& exceptionStat | 
| { | 
| RefPtrWillBeRawPtr<HTMLCollection> children = rows(); | 
| int numRows = children ? (int)children->length() : 0; | 
| -    if (index == -1) | 
| +    if (index == -1) { | 
| +        if (!numRows) | 
| +            return; | 
| index = numRows - 1; | 
| +    } | 
| if (index >= 0 && index < numRows) { | 
| RefPtrWillBeRawPtr<Element> row = children->item(index); | 
| HTMLElement::removeChild(row.get(), exceptionState); | 
|  |