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

Unified Diff: third_party/WebKit/Source/core/editing/serializers/MarkupFormatter.cpp

Issue 2068053002: Rename Blink constants generated from IDL files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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: third_party/WebKit/Source/core/editing/serializers/MarkupFormatter.cpp
diff --git a/third_party/WebKit/Source/core/editing/serializers/MarkupFormatter.cpp b/third_party/WebKit/Source/core/editing/serializers/MarkupFormatter.cpp
index b6e1ca65be333bdc664da607b423591d071b0f47..d577fa75024cd79360fb37ccb380afd834db8681 100644
--- a/third_party/WebKit/Source/core/editing/serializers/MarkupFormatter.cpp
+++ b/third_party/WebKit/Source/core/editing/serializers/MarkupFormatter.cpp
@@ -132,30 +132,30 @@ String MarkupFormatter::resolveURLIfNeeded(const Element& element, const String&
void MarkupFormatter::appendStartMarkup(StringBuilder& result, const Node& node, Namespaces* namespaces)
{
switch (node.getNodeType()) {
- case Node::TEXT_NODE:
+ case Node::kTextNode:
NOTREACHED();
break;
- case Node::COMMENT_NODE:
+ case Node::kCommentNode:
appendComment(result, toComment(node).data());
break;
- case Node::DOCUMENT_NODE:
+ case Node::kDocumentNode:
appendXMLDeclaration(result, toDocument(node));
break;
- case Node::DOCUMENT_FRAGMENT_NODE:
+ case Node::kDocumentFragmentNode:
break;
- case Node::DOCUMENT_TYPE_NODE:
+ case Node::kDocumentTypeNode:
appendDocumentType(result, toDocumentType(node));
break;
- case Node::PROCESSING_INSTRUCTION_NODE:
+ case Node::kProcessingInstructionNode:
appendProcessingInstruction(result, toProcessingInstruction(node).target(), toProcessingInstruction(node).data());
break;
- case Node::ELEMENT_NODE:
+ case Node::kElementNode:
NOTREACHED();
break;
- case Node::CDATA_SECTION_NODE:
+ case Node::kCdataSectionNode:
appendCDATASection(result, toCDATASection(node).data());
break;
- case Node::ATTRIBUTE_NODE:
+ case Node::kAttributeNode:
NOTREACHED();
break;
}

Powered by Google App Engine
This is Rietveld 408576698