Index: Source/core/dom/MessagePort.cpp |
diff --git a/Source/core/dom/MessagePort.cpp b/Source/core/dom/MessagePort.cpp |
index b3a19fd84a979dbaed0f7b3b4172feb79eea5a7c..85254e453e7e89e0681b60c74b50601baa607ffa 100644 |
--- a/Source/core/dom/MessagePort.cpp |
+++ b/Source/core/dom/MessagePort.cpp |
@@ -27,7 +27,6 @@ |
#include "config.h" |
#include "core/dom/MessagePort.h" |
-#include "bindings/v8/ExceptionMessages.h" |
#include "bindings/v8/ExceptionState.h" |
#include "bindings/v8/ExceptionStatePlaceholder.h" |
#include "bindings/v8/SerializedScriptValue.h" |
@@ -78,7 +77,7 @@ void MessagePort::postMessage(PassRefPtr<SerializedScriptValue> message, const M |
for (unsigned int i = 0; i < ports->size(); ++i) { |
MessagePort* dataPort = (*ports)[i].get(); |
if (dataPort == this) { |
- exceptionState.throwDOMException(DataCloneError, ExceptionMessages::failedToExecute("postMessage", "MessagePort", "Item #" + String::number(i) + " in the array of ports contains the source port.")); |
+ exceptionState.throwDOMException(DataCloneError, "Item #" + String::number(i) + " in the array of ports contains the source port."); |
return; |
} |
} |
@@ -213,7 +212,7 @@ PassOwnPtr<MessagePortChannelArray> MessagePort::disentanglePorts(const MessageP |
type = "already neutered"; |
else |
type = "a duplicate"; |
- exceptionState.throwDOMException(DataCloneError, ExceptionMessages::failedToExecute("disentanglePorts", "MessagePort", "Item #" + String::number(i) + " in the array of ports is " + type + ".")); |
+ exceptionState.throwDOMException(DataCloneError, "Item #" + String::number(i) + " in the array of ports is " + type + "."); |
return nullptr; |
} |
portSet.add(port); |