Index: Source/core/html/LinkResource.cpp |
diff --git a/Source/core/html/LinkResource.cpp b/Source/core/html/LinkResource.cpp |
index 5c7cd47beebc83c0d299e62f05f6df9228181b27..5e74a89c656fd3b6f7a6307ea3fc498fa9171a04 100644 |
--- a/Source/core/html/LinkResource.cpp |
+++ b/Source/core/html/LinkResource.cpp |
@@ -52,14 +52,14 @@ LinkRequestBuilder::LinkRequestBuilder(HTMLLinkElement* owner) |
, m_url(m_owner->getNonEmptyURLAttribute(hrefAttr)) |
{ |
m_charset = m_owner->getAttribute(charsetAttr); |
- if (m_charset.isEmpty() && m_owner->document()->frame()) |
- m_charset = m_owner->document()->charset(); |
+ if (m_charset.isEmpty() && m_owner->document().frame()) |
+ m_charset = m_owner->document().charset(); |
} |
FetchRequest LinkRequestBuilder::build(bool blocking) const |
{ |
ResourceLoadPriority priority = blocking ? ResourceLoadPriorityUnresolved : ResourceLoadPriorityVeryLow; |
- return FetchRequest(ResourceRequest(m_owner->document()->completeURL(m_url)), m_owner->localName(), m_charset, priority); |
+ return FetchRequest(ResourceRequest(m_owner->document().completeURL(m_url)), m_owner->localName(), m_charset, priority); |
} |
} // namespace WebCore |