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

Unified Diff: third_party/WebKit/Source/core/editing/serializers/MarkupAccumulator.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/MarkupAccumulator.cpp
diff --git a/third_party/WebKit/Source/core/editing/serializers/MarkupAccumulator.cpp b/third_party/WebKit/Source/core/editing/serializers/MarkupAccumulator.cpp
index 10025e15c4f266e963617d84ef62cc87f61abb7c..3972fc1dbcb597d8bc90b62f4a3e2b34781ef28a 100644
--- a/third_party/WebKit/Source/core/editing/serializers/MarkupAccumulator.cpp
+++ b/third_party/WebKit/Source/core/editing/serializers/MarkupAccumulator.cpp
@@ -74,13 +74,13 @@ void MarkupAccumulator::appendEndTag(const Element& element)
void MarkupAccumulator::appendStartMarkup(StringBuilder& result, Node& node, Namespaces* namespaces)
{
switch (node.getNodeType()) {
- case Node::TEXT_NODE:
+ case Node::kTextNode:
appendText(result, toText(node));
break;
- case Node::ELEMENT_NODE:
+ case Node::kElementNode:
appendElement(result, toElement(node), namespaces);
break;
- case Node::ATTRIBUTE_NODE:
+ case Node::kAttributeNode:
// Only XMLSerializer can pass an Attr. So, |documentIsHTML| flag is
// false.
m_formatter.appendAttributeValue(result, toAttr(node).value(), false);

Powered by Google App Engine
This is Rietveld 408576698