| Index: Source/core/dom/Text.cpp
|
| diff --git a/Source/core/dom/Text.cpp b/Source/core/dom/Text.cpp
|
| index 6cbbeba9328103102f5de6c28bc717feb09726b1..5a393674fcdc0f894f6b5b3769c7626de9c34690 100644
|
| --- a/Source/core/dom/Text.cpp
|
| +++ b/Source/core/dom/Text.cpp
|
| @@ -23,7 +23,6 @@
|
| #include "core/dom/Text.h"
|
|
|
| #include "SVGNames.h"
|
| -#include "bindings/v8/ExceptionMessages.h"
|
| #include "bindings/v8/ExceptionState.h"
|
| #include "bindings/v8/ExceptionStatePlaceholder.h"
|
| #include "core/css/resolver/StyleResolver.h"
|
| @@ -108,7 +107,7 @@ PassRefPtr<Text> Text::splitText(unsigned offset, ExceptionState& exceptionState
|
| // IndexSizeError: Raised if the specified offset is negative or greater than
|
| // the number of 16-bit units in data.
|
| if (offset > length()) {
|
| - exceptionState.throwDOMException(IndexSizeError, ExceptionMessages::failedToExecute("splitText", "Text", "The offset " + String::number(offset) + " is larger than the Text node's length."));
|
| + exceptionState.throwDOMException(IndexSizeError, "The offset " + String::number(offset) + " is larger than the Text node's length.");
|
| return 0;
|
| }
|
|
|
|
|