Index: Source/core/html/LinkRelAttribute.cpp |
diff --git a/Source/core/html/LinkRelAttribute.cpp b/Source/core/html/LinkRelAttribute.cpp |
index 66588e58da753542f5badb53e486f059146b6191..5ae459735c13e41bd83b8a9b80a076ce78041932 100644 |
--- a/Source/core/html/LinkRelAttribute.cpp |
+++ b/Source/core/html/LinkRelAttribute.cpp |
@@ -80,6 +80,9 @@ LinkRelAttribute::LinkRelAttribute(const String& rel) |
m_isPreconnect = true; |
} else if (equalIgnoringCase(linkType, "subresource")) { |
m_isLinkSubresource = true; |
+ } else if (equalIgnoringCase(linkType, "preload")) { |
+ if (RuntimeEnabledFeatures::linkPreloadEnabled()) |
+ m_isLinkPreload = true; |
} else if (equalIgnoringCase(linkType, "prerender")) { |
m_isLinkPrerender = true; |
} else if (equalIgnoringCase(linkType, "next")) { |