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

Unified Diff: third_party/WebKit/Source/core/xml/XPathFunctions.cpp

Issue 1738613002: Rename enums/functions that collide in chromium style in core/dom/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-3
Patch Set: get-names-4: Created 4 years, 10 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/xml/XPathFunctions.cpp
diff --git a/third_party/WebKit/Source/core/xml/XPathFunctions.cpp b/third_party/WebKit/Source/core/xml/XPathFunctions.cpp
index ea274226bc7e7f38dad68f69e15fd5111bcbeee7..791dbc1d862e31496d9ec608357583a27435b0f6 100644
--- a/third_party/WebKit/Source/core/xml/XPathFunctions.cpp
+++ b/third_party/WebKit/Source/core/xml/XPathFunctions.cpp
@@ -364,7 +364,7 @@ static inline String expandedNameLocalPart(Node* node)
{
// The local part of an XPath expanded-name matches DOM local name for most node types, except for namespace nodes and processing instruction nodes.
// But note that Blink does not support namespace nodes.
- switch (node->nodeType()) {
+ switch (node->getNodeType()) {
case Node::ELEMENT_NODE:
return toElement(node)->localName();
case Node::ATTRIBUTE_NODE:
@@ -378,7 +378,7 @@ static inline String expandedNameLocalPart(Node* node)
static inline String expandedNamespaceURI(Node* node)
{
- switch (node->nodeType()) {
+ switch (node->getNodeType()) {
case Node::ELEMENT_NODE:
return toElement(node)->namespaceURI();
case Node::ATTRIBUTE_NODE:
@@ -392,7 +392,7 @@ static inline String expandedName(Node* node)
{
AtomicString prefix;
- switch (node->nodeType()) {
+ switch (node->getNodeType()) {
case Node::ELEMENT_NODE:
prefix = toElement(node)->prefix();
break;

Powered by Google App Engine
This is Rietveld 408576698