| Index: Source/core/rendering/HitTestResult.cpp
|
| diff --git a/Source/core/rendering/HitTestResult.cpp b/Source/core/rendering/HitTestResult.cpp
|
| index 7e699e4095853b154655281e8e4774ba446f2cf1..88f8f09af18ac3a6d531956f716d0db1be984e4d 100644
|
| --- a/Source/core/rendering/HitTestResult.cpp
|
| +++ b/Source/core/rendering/HitTestResult.cpp
|
| @@ -304,7 +304,7 @@ KURL HitTestResult::absoluteImageURL() const
|
| } else
|
| return KURL();
|
|
|
| - return m_innerNonSharedNode->document().completeURL(stripLeadingAndTrailingHTMLSpaces(urlString));
|
| + return m_innerNonSharedNode->treeScope().completeURL(stripLeadingAndTrailingHTMLSpaces(urlString));
|
| }
|
|
|
| KURL HitTestResult::absoluteMediaURL() const
|
| @@ -340,7 +340,7 @@ KURL HitTestResult::absoluteLinkURL() const
|
| else
|
| return KURL();
|
|
|
| - return m_innerURLElement->document().completeURL(stripLeadingAndTrailingHTMLSpaces(urlString));
|
| + return m_innerURLElement->treeScope().completeURL(stripLeadingAndTrailingHTMLSpaces(urlString));
|
| }
|
|
|
| bool HitTestResult::isLiveLink() const
|
|
|