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

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

Issue 1157363007: Refactoring: Use enum class for SerializationType (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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
« no previous file with comments | « Source/core/editing/MarkupAccumulator.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/XMLSerializer.cpp
diff --git a/Source/core/xml/XMLSerializer.cpp b/Source/core/xml/XMLSerializer.cpp
index 52d47621d28da8f9cfc9eeafb232942ce4c3de4f..c3b8d4d8a11a20181bb8e7f2a488d13fd1c54da9 100644
--- a/Source/core/xml/XMLSerializer.cpp
+++ b/Source/core/xml/XMLSerializer.cpp
@@ -29,7 +29,7 @@ namespace blink {
String XMLSerializer::serializeToString(Node* root)
{
ASSERT(root);
- MarkupAccumulator accumulator(DoNotResolveURLs, ForcedXML);
+ MarkupAccumulator accumulator(DoNotResolveURLs, SerializationType::ForcedXML);
return serializeNodes<EditingStrategy>(accumulator, *root, IncludeNode);
}
« no previous file with comments | « Source/core/editing/MarkupAccumulator.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698