| Index: third_party/WebKit/Source/core/workers/WorkerScriptLoader.cpp
|
| diff --git a/third_party/WebKit/Source/core/workers/WorkerScriptLoader.cpp b/third_party/WebKit/Source/core/workers/WorkerScriptLoader.cpp
|
| index 81121e051a13625031538c668a10045c333ec1af..146f7d46c8da5ee63d0ee8fd4c431b4ef216c81a 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkerScriptLoader.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/WorkerScriptLoader.cpp
|
| @@ -33,7 +33,6 @@
|
| #include "core/origin_trials/OriginTrialContext.h"
|
| #include "core/workers/WorkerGlobalScope.h"
|
| #include "platform/HTTPNames.h"
|
| -#include "platform/RuntimeEnabledFeatures.h"
|
| #include "platform/network/ContentSecurityPolicyResponseHeaders.h"
|
| #include "platform/network/NetworkUtils.h"
|
| #include "platform/network/ResourceResponse.h"
|
| @@ -149,8 +148,7 @@ void WorkerScriptLoader::didReceiveResponse(
|
| m_responseEncoding = response.textEncodingName();
|
| m_appCacheID = response.appCacheID();
|
|
|
| - if (RuntimeEnabledFeatures::referrerPolicyHeaderEnabled())
|
| - m_referrerPolicy = response.httpHeaderField(HTTPNames::Referrer_Policy);
|
| + m_referrerPolicy = response.httpHeaderField(HTTPNames::Referrer_Policy);
|
| processContentSecurityPolicy(response);
|
| m_originTrialTokens = OriginTrialContext::parseHeaderValue(
|
| response.httpHeaderField(HTTPNames::Origin_Trial));
|
|
|