Index: Source/core/xml/XMLSerializer.cpp |
diff --git a/Source/core/xml/XMLSerializer.cpp b/Source/core/xml/XMLSerializer.cpp |
index 9e1edd2038effeb72a1cb02c843dfff220f1ec55..ad6305de66b63ca550c4e5e02a5d1260360035ef 100644 |
--- a/Source/core/xml/XMLSerializer.cpp |
+++ b/Source/core/xml/XMLSerializer.cpp |
@@ -38,7 +38,7 @@ String XMLSerializer::serializeToString(Node* node, ExceptionCode& ec) |
// with it. It should be the only type of node where this is possible. |
ASSERT(node->nodeType() == Node::DOCUMENT_TYPE_NODE); |
- ec = INVALID_ACCESS_ERR; |
+ ec = InvalidAccessError; |
return String(); |
} |