diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2012-05-07 11:21:11 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@nokia.com> | 2012-05-07 11:21:11 +0200 |
commit | 2cf6c8816a73e0132bd8fa3b509d62d7c51b6e47 (patch) | |
tree | 988e8c5b116dd0466244ae2fe5af8ee9be926d76 /Source/WebCore/loader/LinkLoader.cpp | |
parent | dd91e772430dc294e3bf478c119ef8d43c0a3358 (diff) | |
download | qtwebkit-2cf6c8816a73e0132bd8fa3b509d62d7c51b6e47.tar.gz |
Imported WebKit commit 7e538425aa020340619e927792f3d895061fb54b (http://svn.webkit.org/repository/webkit/trunk@116286)
Diffstat (limited to 'Source/WebCore/loader/LinkLoader.cpp')
-rw-r--r-- | Source/WebCore/loader/LinkLoader.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/WebCore/loader/LinkLoader.cpp b/Source/WebCore/loader/LinkLoader.cpp index 51d3d8f7d..e562d1050 100644 --- a/Source/WebCore/loader/LinkLoader.cpp +++ b/Source/WebCore/loader/LinkLoader.cpp @@ -32,17 +32,17 @@ #include "config.h" #include "LinkLoader.h" -#include "CSSStyleSelector.h" #include "CSSStyleSheet.h" #include "CachedCSSStyleSheet.h" #include "CachedResourceLoader.h" #include "ContainerNode.h" +#include "DNS.h" #include "Document.h" #include "Frame.h" #include "FrameView.h" #include "LinkRelAttribute.h" -#include "ResourceHandle.h" #include "Settings.h" +#include "StyleResolver.h" namespace WebCore { @@ -99,7 +99,7 @@ bool LinkLoader::loadLink(const LinkRelAttribute& relAttribute, const String& ty // FIXME: The href attribute of the link element can be in "//hostname" form, and we shouldn't attempt // to complete that as URL <https://bugs.webkit.org/show_bug.cgi?id=48857>. if (settings && settings->dnsPrefetchingEnabled() && href.isValid() && !href.isEmpty()) - ResourceHandle::prepareForURL(href); + prefetchDNS(href.host()); } #if ENABLE(LINK_PREFETCH) |