Index: Source/core/html/HTMLTextFormControlElement.cpp |
diff --git a/Source/core/html/HTMLTextFormControlElement.cpp b/Source/core/html/HTMLTextFormControlElement.cpp |
index 548200cbcf302da4dcb819d843979209b3cc3732..23a658bf776ca558cb708c11eb4ed2c18de59eb8 100644 |
--- a/Source/core/html/HTMLTextFormControlElement.cpp |
+++ b/Source/core/html/HTMLTextFormControlElement.cpp |
@@ -26,7 +26,6 @@ |
#include "core/html/HTMLTextFormControlElement.h" |
#include "HTMLNames.h" |
-#include "bindings/v8/ExceptionMessages.h" |
#include "bindings/v8/ExceptionState.h" |
#include "bindings/v8/ExceptionStatePlaceholder.h" |
#include "core/accessibility/AXObjectCache.h" |
@@ -214,7 +213,7 @@ void HTMLTextFormControlElement::setRangeText(const String& replacement, Excepti |
void HTMLTextFormControlElement::setRangeText(const String& replacement, unsigned start, unsigned end, const String& selectionMode, ExceptionState& exceptionState) |
{ |
if (start > end) { |
- exceptionState.throwDOMException(IndexSizeError, ExceptionMessages::failedToExecute("setRangeText", "HTMLElement", "The provided start value (" + String::number(start) + ") is larger than the provided end value (" + String::number(end) + ").")); |
+ exceptionState.throwDOMException(IndexSizeError, "The provided start value (" + String::number(start) + ") is larger than the provided end value (" + String::number(end) + ")."); |
return; |
} |