| Index: Source/core/html/HTMLTableRowElement.cpp
|
| diff --git a/Source/core/html/HTMLTableRowElement.cpp b/Source/core/html/HTMLTableRowElement.cpp
|
| index 5b4e06818914c19135ad02f01aa0d1eeb7bad079..b643924cf72afbcd35159b8969174d9d04d76ba3 100644
|
| --- a/Source/core/html/HTMLTableRowElement.cpp
|
| +++ b/Source/core/html/HTMLTableRowElement.cpp
|
| @@ -26,7 +26,6 @@
|
| #include "core/html/HTMLTableRowElement.h"
|
|
|
| #include "HTMLNames.h"
|
| -#include "bindings/v8/ExceptionMessages.h"
|
| #include "bindings/v8/ExceptionState.h"
|
| #include "core/dom/ExceptionCode.h"
|
| #include "core/html/HTMLCollection.h"
|
| @@ -118,7 +117,7 @@ PassRefPtr<HTMLElement> HTMLTableRowElement::insertCell(int index, ExceptionStat
|
| RefPtr<HTMLCollection> children = cells();
|
| int numCells = children ? children->length() : 0;
|
| if (index < -1 || index > numCells) {
|
| - exceptionState.throwDOMException(IndexSizeError, ExceptionMessages::failedToExecute("insertCell", "HTMLTableRowElement", "The value provided (" + String::number(index) + ") is outside the range [-1, " + String::number(numCells) + "]."));
|
| + exceptionState.throwDOMException(IndexSizeError, "The value provided (" + String::number(index) + ") is outside the range [-1, " + String::number(numCells) + "].");
|
| return 0;
|
| }
|
|
|
| @@ -146,7 +145,7 @@ void HTMLTableRowElement::deleteCell(int index, ExceptionState& exceptionState)
|
| RefPtr<Node> cell = children->item(index);
|
| HTMLElement::removeChild(cell.get(), exceptionState);
|
| } else {
|
| - exceptionState.throwDOMException(IndexSizeError, ExceptionMessages::failedToExecute("deleteCell", "HTMLTableRowElement", "The value provided (" + String::number(index) + ") is outside the range [0, " + String::number(numCells) + ")."));
|
| + exceptionState.throwDOMException(IndexSizeError, "The value provided (" + String::number(index) + ") is outside the range [0, " + String::number(numCells) + ").");
|
| }
|
| }
|
|
|
|
|