Index: third_party/WebKit/Source/core/xml/XPathPath.cpp |
diff --git a/third_party/WebKit/Source/core/xml/XPathPath.cpp b/third_party/WebKit/Source/core/xml/XPathPath.cpp |
index bafecad8d28f6c687da40aa381659d6af2eac5bc..554b4b765e6f122216f4b8148cc2d39f5f2482de 100644 |
--- a/third_party/WebKit/Source/core/xml/XPathPath.cpp |
+++ b/third_party/WebKit/Source/core/xml/XPathPath.cpp |
@@ -111,7 +111,7 @@ Value LocationPath::evaluate(EvaluationContext& evaluationContext) const |
// This is for compatibility with Firefox, and also seems like a more |
// logical treatment of where you would expect the "root" to be. |
Node* context = evaluationContext.node.get(); |
- if (m_absolute && context->nodeType() != Node::DOCUMENT_NODE) { |
+ if (m_absolute && context->getNodeType() != Node::DOCUMENT_NODE) { |
if (context->inDocument()) |
context = context->ownerDocument(); |
else |