| 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 bed72400fc2283e11ace01d9a7b2beb00d452bae..45a40a6617285270c172289e066dcf2cf076be80 100644
|
| --- a/third_party/WebKit/Source/core/xml/XPathFunctions.cpp
|
| +++ b/third_party/WebKit/Source/core/xml/XPathFunctions.cpp
|
| @@ -329,7 +329,7 @@ Value FunId::evaluate(EvaluationContext& context) const
|
| idList.append(str);
|
| }
|
|
|
| - TreeScope& contextScope = context.node->treeScope();
|
| + TreeScope& contextScope = context.node->treeScopeOrDocument();
|
| NodeSet* result(NodeSet::create());
|
| HeapHashSet<Member<Node>> resultSet;
|
|
|
|
|