Index: third_party/WebKit/Source/core/loader/NetworkHintsInterface.h |
diff --git a/third_party/WebKit/Source/core/loader/NetworkHintsInterface.h b/third_party/WebKit/Source/core/loader/NetworkHintsInterface.h |
index 1932bfc73ccffe5aff04ae4b4b30c49175706c86..6c3071f00762cace5e191c2bf8ad573e5724151c 100644 |
--- a/third_party/WebKit/Source/core/loader/NetworkHintsInterface.h |
+++ b/third_party/WebKit/Source/core/loader/NetworkHintsInterface.h |
@@ -11,14 +11,14 @@ namespace blink { |
class NetworkHintsInterface { |
public: |
- virtual void dnsPrefetchHost(const String&) const = 0; |
+ virtual void dnsPrefetchHost(const KURL&) const = 0; |
virtual void preconnectHost(const KURL&, const CrossOriginAttributeValue) const = 0; |
}; |
class NetworkHintsInterfaceImpl : public NetworkHintsInterface { |
- void dnsPrefetchHost(const String& host) const override |
+ void dnsPrefetchHost(const KURL& url) const override |
{ |
- prefetchDNS(host); |
+ prefetchDNS(url); |
} |
void preconnectHost(const KURL& host, const CrossOriginAttributeValue crossOrigin) const override |