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

Unified Diff: Source/core/editing/MarkupAccumulator.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.h ('k') | Source/core/xml/XMLSerializer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/MarkupAccumulator.cpp
diff --git a/Source/core/editing/MarkupAccumulator.cpp b/Source/core/editing/MarkupAccumulator.cpp
index 09769d4fbe54a054446f9464043b08e080de6e55..dc08c42de75994243bea07922ae34bdc044a2fd5 100644
--- a/Source/core/editing/MarkupAccumulator.cpp
+++ b/Source/core/editing/MarkupAccumulator.cpp
@@ -514,7 +514,7 @@ bool MarkupAccumulator::shouldSelfClose(const Element& element) const
bool MarkupAccumulator::serializeAsHTMLDocument(const Node& node) const
{
- if (m_serializationType == ForcedXML)
+ if (m_serializationType == SerializationType::ForcedXML)
return false;
return node.document().isHTMLDocument();
}
« no previous file with comments | « Source/core/editing/MarkupAccumulator.h ('k') | Source/core/xml/XMLSerializer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698