Index: third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp b/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp |
index e74548006ea6219402dacb1a555a086e67eb9440..905a213870d6bf31dd9a9506dfc3e981204486ee 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp |
@@ -35,8 +35,8 @@ |
#include "core/loader/FrameLoaderClient.h" |
#include "core/loader/PingLoader.h" |
#include "core/page/ChromeClient.h" |
-#include "platform/network/NetworkHints.h" |
#include "platform/weborigin/SecurityPolicy.h" |
+#include "public/platform/Platform.h" |
namespace blink { |
@@ -198,7 +198,7 @@ void HTMLAnchorElement::parseAttribute(const QualifiedName& name, const AtomicSt |
String parsedURL = stripLeadingAndTrailingHTMLSpaces(value); |
if (document().isDNSPrefetchEnabled()) { |
if (protocolIs(parsedURL, "http") || protocolIs(parsedURL, "https") || parsedURL.startsWith("//")) |
- prefetchDNS(document().completeURL(parsedURL).host()); |
+ Platform::current()->speculativePreresolve(document().completeURL(parsedURL)); |
} |
} |
invalidateCachedVisitedLinkHash(); |