Index: Source/platform/network/NetworkHints.cpp |
diff --git a/Source/platform/network/NetworkHints.cpp b/Source/platform/network/NetworkHints.cpp |
index 1d3232cd028b00f7539c35a862e17eee1a98560b..ffbcb51885fce752cf1b772cc34a36d961e79406 100644 |
--- a/Source/platform/network/NetworkHints.cpp |
+++ b/Source/platform/network/NetworkHints.cpp |
@@ -42,11 +42,7 @@ void preconnect(const KURL& url, const CrossOriginAttributeValue crossOrigin) |
{ |
if (WebPrescientNetworking* prescientNetworking = Platform::current()->prescientNetworking()) { |
bool allowCredentials = (crossOrigin != CrossOriginAttributeAnonymous); |
- // TODO(yoav): Call only the crossorigin interface once everything is hooked up. |
- if (crossOrigin == CrossOriginAttributeNotSet) |
- prescientNetworking->preconnect(url); |
- else |
- prescientNetworking->preconnect(url, allowCredentials); |
+ prescientNetworking->preconnect(url, allowCredentials); |
} |
} |