Index: Source/core/xml/XMLSerializer.cpp |
diff --git a/Source/core/xml/XMLSerializer.cpp b/Source/core/xml/XMLSerializer.cpp |
index 7c42e56f1dd55c34d80dc62e149b8040d6b5bafc..a2e3187e0bed864fa8452e26df1bc485cde62354 100644 |
--- a/Source/core/xml/XMLSerializer.cpp |
+++ b/Source/core/xml/XMLSerializer.cpp |
@@ -32,7 +32,7 @@ namespace WebCore { |
String XMLSerializer::serializeToString(Node* node, ExceptionState& exceptionState) |
{ |
if (!node) { |
- exceptionState.throwDOMException(TypeError, "Invalid node value."); |
+ exceptionState.throwTypeError("Invalid node value."); |
return String(); |
} |