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

Unified Diff: Source/core/editing/MarkupAccumulator.h

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 | « no previous file | Source/core/editing/MarkupAccumulator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/MarkupAccumulator.h
diff --git a/Source/core/editing/MarkupAccumulator.h b/Source/core/editing/MarkupAccumulator.h
index 0131ad4c6cd7cc5898a8656f26115f0adadafc27..11630f843065f146eb2b0c6f16d5c128348894b5 100644
--- a/Source/core/editing/MarkupAccumulator.h
+++ b/Source/core/editing/MarkupAccumulator.h
@@ -57,7 +57,7 @@ enum EntityMask {
EntityMaskInHTMLAttributeValue = EntityAmp | EntityQuot | EntityNbsp,
};
-enum SerializationType {
+enum class SerializationType {
AsOwnerDocument,
ForcedXML
};
@@ -70,7 +70,7 @@ public:
static void appendCharactersReplacingEntities(StringBuilder&, const String&, unsigned, unsigned, EntityMask);
static size_t totalLength(const Vector<String>&);
- MarkupAccumulator(EAbsoluteURLs, SerializationType = AsOwnerDocument);
+ MarkupAccumulator(EAbsoluteURLs, SerializationType = SerializationType::AsOwnerDocument);
virtual ~MarkupAccumulator();
void appendString(const String&);
« no previous file with comments | « no previous file | Source/core/editing/MarkupAccumulator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698