Index: Source/core/dom/TreeWalker.cpp |
diff --git a/Source/core/dom/TreeWalker.cpp b/Source/core/dom/TreeWalker.cpp |
index 0f9d3fa6f9bb51fee328b66968c35fff47b32494..fa099813850e4dee13cb14a9229665a9bb766727 100644 |
--- a/Source/core/dom/TreeWalker.cpp |
+++ b/Source/core/dom/TreeWalker.cpp |
@@ -25,7 +25,6 @@ |
#include "config.h" |
#include "core/dom/TreeWalker.h" |
-#include "bindings/v8/ExceptionMessages.h" |
#include "bindings/v8/ExceptionState.h" |
#include "bindings/v8/ScriptState.h" |
#include "core/dom/ContainerNode.h" |
@@ -44,7 +43,7 @@ TreeWalker::TreeWalker(PassRefPtr<Node> rootNode, unsigned whatToShow, PassRefPt |
void TreeWalker::setCurrentNode(PassRefPtr<Node> node, ExceptionState& exceptionState) |
{ |
if (!node) { |
- exceptionState.throwDOMException(NotSupportedError, ExceptionMessages::failedToExecute("setCurrentNode", "TreeWalker", "The Node provided is invalid.")); |
+ exceptionState.throwDOMException(NotSupportedError, "The Node provided is invalid."); |
return; |
} |
m_current = node; |