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 b3e8d831d64b1ae54073a017077f77b0c472655b..825ea48363d4b5ff7270f7ad17a0b8efcd42d9c7 100644 |
--- a/third_party/WebKit/Source/core/html/LinkRelAttribute.cpp |
+++ b/third_party/WebKit/Source/core/html/LinkRelAttribute.cpp |
@@ -42,7 +42,6 @@ LinkRelAttribute::LinkRelAttribute(const String& rel) |
, m_isDNSPrefetch(false) |
, m_isPreconnect(false) |
, m_isLinkPrefetch(false) |
- , m_isLinkSubresource(false) |
, m_isLinkPreload(false) |
, m_isLinkPrerender(false) |
, m_isLinkNext(false) |
@@ -76,8 +75,6 @@ LinkRelAttribute::LinkRelAttribute(const String& rel) |
} else if (equalIgnoringCase(linkType, "preconnect")) { |
if (RuntimeEnabledFeatures::linkPreconnectEnabled()) |
m_isPreconnect = true; |
- } else if (equalIgnoringCase(linkType, "subresource")) { |
- m_isLinkSubresource = true; |
} else if (equalIgnoringCase(linkType, "preload")) { |
if (RuntimeEnabledFeatures::linkPreloadEnabled()) |
m_isLinkPreload = true; |
@@ -92,6 +89,7 @@ LinkRelAttribute::LinkRelAttribute(const String& rel) |
} else if (equalIgnoringCase(linkType, "manifest")) { |
m_isManifest = true; |
} |
+ // Adding or removing a value here requires you to update RelList::supportedTokens() |
} |
} |