| Index: Source/core/html/HTMLLinkElement.cpp
|
| diff --git a/Source/core/html/HTMLLinkElement.cpp b/Source/core/html/HTMLLinkElement.cpp
|
| index 3fff563be292f2771ae5e1e2569d41aeb8896522..469f85317bcd99881cdc853caf277c4f317d928b 100644
|
| --- a/Source/core/html/HTMLLinkElement.cpp
|
| +++ b/Source/core/html/HTMLLinkElement.cpp
|
| @@ -311,7 +311,7 @@ bool HTMLLinkElement::isURLAttribute(const Attribute& attribute) const
|
|
|
| KURL HTMLLinkElement::href() const
|
| {
|
| - return document().completeURL(getAttribute(hrefAttr));
|
| + return treeScope().completeURL(getAttribute(hrefAttr));
|
| }
|
|
|
| const AtomicString& HTMLLinkElement::rel() const
|
|
|