Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(590)

Unified Diff: third_party/WebKit/Source/core/html/LinkRelAttribute.cpp

Issue 2173953002: Remove LinkPreconnect runtime flag (status=stable) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/loader/LinkLoader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/LinkRelAttribute.cpp
diff --git a/third_party/WebKit/Source/core/html/LinkRelAttribute.cpp b/third_party/WebKit/Source/core/html/LinkRelAttribute.cpp
index 21b068b6ffb2a1f5bd2ec0a4727e783b6f850d43..204ebfa038afa6546f17d6a1e1845d77f91bad71 100644
--- a/third_party/WebKit/Source/core/html/LinkRelAttribute.cpp
+++ b/third_party/WebKit/Source/core/html/LinkRelAttribute.cpp
@@ -74,8 +74,7 @@ LinkRelAttribute::LinkRelAttribute(const String& rel)
} else if (equalIgnoringCase(linkType, "dns-prefetch")) {
m_isDNSPrefetch = true;
} else if (equalIgnoringCase(linkType, "preconnect")) {
- if (RuntimeEnabledFeatures::linkPreconnectEnabled())
- m_isPreconnect = true;
+ m_isPreconnect = true;
} else if (equalIgnoringCase(linkType, "preload")) {
if (RuntimeEnabledFeatures::linkPreloadEnabled())
m_isLinkPreload = true;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/loader/LinkLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698