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 eccde4647c675b1b06ae3b1f500fc036e4c5ac65..9ce64362b3082032dc280928fad5c053ab92b803 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp |
@@ -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()); |
+ prefetchDNS(document().completeURL(parsedURL)); |
} |
} |
invalidateCachedVisitedLinkHash(); |