| Index: third_party/WebKit/Source/core/html/HTMLLinkElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp b/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp
|
| index 4427d8339ef9e42ec4953fecb3e658063ba1102b..1aefdf86902dd08e9d397747057a3365c1d540d9 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLLinkElement.cpp
|
| @@ -50,6 +50,7 @@
|
| #include "core/loader/FrameLoader.h"
|
| #include "core/loader/FrameLoaderClient.h"
|
| #include "core/loader/NetworkHintsInterface.h"
|
| +#include "core/origin_trials/OriginTrials.h"
|
| #include "core/style/StyleInheritedData.h"
|
| #include "platform/ContentType.h"
|
| #include "platform/Histogram.h"
|
| @@ -154,7 +155,7 @@ LinkResource* HTMLLinkElement::linkResourceToProcess()
|
| m_link = LinkImport::create(this);
|
| } else if (m_relAttribute.isManifest()) {
|
| m_link = LinkManifest::create(this);
|
| - } else if (RuntimeEnabledFeatures::linkServiceWorkerEnabled() && m_relAttribute.isServiceWorker()) {
|
| + } else if (m_relAttribute.isServiceWorker() && OriginTrials::linkServiceWorkerEnabled(getExecutionContext())) {
|
| if (document().frame())
|
| m_link = document().frame()->loader().client()->createServiceWorkerLinkResource(this);
|
| } else {
|
|
|