Index: third_party/WebKit/Source/core/loader/LinkLoader.cpp |
diff --git a/third_party/WebKit/Source/core/loader/LinkLoader.cpp b/third_party/WebKit/Source/core/loader/LinkLoader.cpp |
index eb58c35ce12e76d34fc70a3266582634b811175b..70d415a290db9b0d7c4a09d25a40600aa6302264 100644 |
--- a/third_party/WebKit/Source/core/loader/LinkLoader.cpp |
+++ b/third_party/WebKit/Source/core/loader/LinkLoader.cpp |
@@ -159,7 +159,6 @@ static void preconnectIfNeeded(const LinkRelAttribute& relAttribute, const KURL& |
UseCounter::count(document, UseCounter::LinkRelPreconnect); |
if (caller == LinkCalledFromHeader) |
UseCounter::count(document, UseCounter::LinkHeaderPreconnect); |
- ASSERT(RuntimeEnabledFeatures::linkPreconnectEnabled()); |
Settings* settings = document.settings(); |
if (settings && settings->logDnsPrefetchAndPreconnect()) { |
document.addConsoleMessage(ConsoleMessage::create(OtherMessageSource, DebugMessageLevel, String("Preconnect triggered for ") + href.getString())); |
@@ -320,8 +319,7 @@ void LinkLoader::loadLinksFromHeader(const String& headerValue, const KURL& base |
if (RuntimeEnabledFeatures::linkHeaderEnabled()) |
dnsPrefetchIfNeeded(relAttribute, url, *document, networkHintsInterface, LinkCalledFromHeader); |
- if (RuntimeEnabledFeatures::linkPreconnectEnabled()) |
- preconnectIfNeeded(relAttribute, url, *document, crossOriginAttributeValue(header.crossOrigin()), networkHintsInterface, LinkCalledFromHeader); |
+ preconnectIfNeeded(relAttribute, url, *document, crossOriginAttributeValue(header.crossOrigin()), networkHintsInterface, LinkCalledFromHeader); |
} |
if (canLoadResources != DoNotLoadResources) { |
bool errorOccurred = false; |