| Index: Source/core/xml/XPathPath.cpp
|
| diff --git a/Source/core/xml/XPathPath.cpp b/Source/core/xml/XPathPath.cpp
|
| index 80e57b3d49ee756ea68ca44dcd0342943e5f8ada..df5a18520188153d66c86c3d4776107a3a8d1fbb 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->highestAncestor();
|
| }
|
|
|
| NodeSet nodes;
|
|
|