Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1016)

Unified Diff: Source/core/xml/XMLSerializer.cpp

Issue 534583002: Implemented XMLSerializer in PrivateScript. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Removed isHTMLDocument Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698