| Index: Source/core/xml/XPathPath.cpp
|
| diff --git a/Source/core/xml/XPathPath.cpp b/Source/core/xml/XPathPath.cpp
|
| index df5a18520188153d66c86c3d4776107a3a8d1fbb..77a761ec97c621e823ea8fb4818e891b3c9b776d 100644
|
| --- a/Source/core/xml/XPathPath.cpp
|
| +++ b/Source/core/xml/XPathPath.cpp
|
| @@ -105,7 +105,7 @@ Value LocationPath::evaluate() const
|
| if (context->inDocument())
|
| context = context->ownerDocument();
|
| else
|
| - context = &context->highestAncestor();
|
| + context = &context->highestAncestorOrSelf();
|
| }
|
|
|
| NodeSet nodes;
|
|
|