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; |