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

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

Issue 147593008: Remove Element.nodeNamePreservingCase (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove macro Created 6 years, 11 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/dom/Element.cpp ('k') | no next file » | 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 61bbb2d84f7a077daba417dc6e3dba8dc75af9e2..3c63ed5a847b0f2997366cff405f564362c114af 100644
--- a/Source/core/editing/MarkupAccumulator.cpp
+++ b/Source/core/editing/MarkupAccumulator.cpp
@@ -393,7 +393,7 @@ void MarkupAccumulator::appendElement(StringBuilder& result, Element* element, N
void MarkupAccumulator::appendOpenTag(StringBuilder& result, Element* element, Namespaces* namespaces)
{
result.append('<');
- result.append(element->nodeNamePreservingCase());
+ result.append(element->Element::nodeName());
Inactive 2014/01/30 01:29:34 I don't really like this syntax. This makes the co
if (!element->document().isHTMLDocument() && namespaces && shouldAddNamespaceElement(element))
appendNamespace(result, element->prefix(), element->namespaceURI(), *namespaces);
}
@@ -526,7 +526,7 @@ void MarkupAccumulator::appendEndMarkup(StringBuilder& result, const Node* node)
return;
result.appendLiteral("</");
- result.append(toElement(node)->nodeNamePreservingCase());
+ result.append(toElement(node)->Element::nodeName());
result.append('>');
}
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698