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

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

Issue 2194473002: Remove LinkPreload runtime flag (status=stable) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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
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 204ebfa038afa6546f17d6a1e1845d77f91bad71..7e2151a1f01b1033eb782a7c8c582e9a87080b68 100644
--- a/third_party/WebKit/Source/core/html/LinkRelAttribute.cpp
+++ b/third_party/WebKit/Source/core/html/LinkRelAttribute.cpp
@@ -31,8 +31,6 @@
#include "core/html/LinkRelAttribute.h"
-#include "platform/RuntimeEnabledFeatures.h"
-
namespace blink {
LinkRelAttribute::LinkRelAttribute(const String& rel)
@@ -76,8 +74,7 @@ LinkRelAttribute::LinkRelAttribute(const String& rel)
} else if (equalIgnoringCase(linkType, "preconnect")) {
m_isPreconnect = true;
} else if (equalIgnoringCase(linkType, "preload")) {
- if (RuntimeEnabledFeatures::linkPreloadEnabled())
- m_isLinkPreload = true;
+ m_isLinkPreload = true;
} else if (equalIgnoringCase(linkType, "prerender")) {
m_isLinkPrerender = true;
} else if (equalIgnoringCase(linkType, "next")) {
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLLinkElement.idl ('k') | third_party/WebKit/Source/core/loader/LinkLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698