| Index: Source/web/WebFrameImpl.cpp
|
| diff --git a/Source/web/WebFrameImpl.cpp b/Source/web/WebFrameImpl.cpp
|
| index 8a611c08c2e6928459a77feef36f5cd562d848fc..cec8118e30fef3ba5263fbf6e4cb944f7390775d 100644
|
| --- a/Source/web/WebFrameImpl.cpp
|
| +++ b/Source/web/WebFrameImpl.cpp
|
| @@ -754,8 +754,9 @@ WebFrame* WebFrameImpl::findChildByExpression(const WebString& xpath) const
|
| return 0;
|
|
|
| Document* document = frame()->document();
|
| + ASSERT(document);
|
|
|
| - RefPtr<XPathResult> xpathResult = DocumentXPathEvaluator::evaluate(document, xpath, document, 0, XPathResult::ORDERED_NODE_ITERATOR_TYPE, 0, IGNORE_EXCEPTION);
|
| + RefPtr<XPathResult> xpathResult = DocumentXPathEvaluator::evaluate(*document, xpath, document, 0, XPathResult::ORDERED_NODE_ITERATOR_TYPE, 0, IGNORE_EXCEPTION);
|
| if (!xpathResult)
|
| return 0;
|
|
|
|
|