Index: Source/core/xml/XMLSerializer.cpp |
diff --git a/Source/core/xml/XMLSerializer.cpp b/Source/core/xml/XMLSerializer.cpp |
index b39aa329b9da424bc0c871a5dec4f04912158a10..5596312160efeb40f3ef337ea7da4f9f640b2f58 100644 |
--- a/Source/core/xml/XMLSerializer.cpp |
+++ b/Source/core/xml/XMLSerializer.cpp |
@@ -28,15 +28,4 @@ |
namespace blink { |
-String XMLSerializer::serializeToString(Node* node, ExceptionState& exceptionState) |
-{ |
- if (!node) { |
- exceptionState.throwTypeError("Invalid node value."); |
- return String(); |
- } |
- |
- MarkupAccumulator accumulator(0, DoNotResolveURLs, nullptr, ForcedXML); |
- return accumulator.serializeNodes(*node, IncludeNode); |
-} |
- |
} // namespace blink |