| Index: Source/core/html/HTMLLinkElement.cpp
|
| diff --git a/Source/core/html/HTMLLinkElement.cpp b/Source/core/html/HTMLLinkElement.cpp
|
| index 811333ed4348f3b8a2c5870f040030c5db48d23c..3ee6600b7302235de6b0ff3d4cefcf801407c2f1 100644
|
| --- a/Source/core/html/HTMLLinkElement.cpp
|
| +++ b/Source/core/html/HTMLLinkElement.cpp
|
| @@ -43,6 +43,7 @@
|
| #include "core/frame/FrameView.h"
|
| #include "core/frame/LocalFrame.h"
|
| #include "core/frame/csp/ContentSecurityPolicy.h"
|
| +#include "core/html/LinkManifest.h"
|
| #include "core/html/imports/LinkImport.h"
|
| #include "core/loader/FrameLoader.h"
|
| #include "core/loader/FrameLoaderClient.h"
|
| @@ -206,9 +207,11 @@ LinkResource* HTMLLinkElement::linkResourceToProcess()
|
| }
|
|
|
| if (!m_link) {
|
| - if (m_relAttribute.isImport() && RuntimeEnabledFeatures::htmlImportsEnabled())
|
| + if (m_relAttribute.isImport() && RuntimeEnabledFeatures::htmlImportsEnabled()) {
|
| m_link = LinkImport::create(this);
|
| - else {
|
| + } else if (m_relAttribute.isManifest() && RuntimeEnabledFeatures::manifestEnabled()) {
|
| + m_link = LinkManifest::create(this);
|
| + } else {
|
| OwnPtrWillBeRawPtr<LinkStyle> link = LinkStyle::create(this);
|
| if (fastHasAttribute(disabledAttr))
|
| link->setDisabledState(true);
|
|
|