| Index: third_party/WebKit/Source/core/dom/SecurityContext.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/SecurityContext.cpp b/third_party/WebKit/Source/core/dom/SecurityContext.cpp
|
| index c2d52467b9f1b43d5af3cc0e867b68ce6515166c..19cdd87bc49c1248fdce2ca1001675fe92811451 100644
|
| --- a/third_party/WebKit/Source/core/dom/SecurityContext.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/SecurityContext.cpp
|
| @@ -116,8 +116,8 @@ void SecurityContext::initializeFeaturePolicy(
|
| void SecurityContext::updateFeaturePolicyOrigin() {
|
| if (!m_featurePolicy)
|
| return;
|
| - Platform::current()->resetFeaturePolicyOrigin(
|
| - m_featurePolicy.get(), WebSecurityOrigin(m_securityOrigin));
|
| + m_featurePolicy.reset(Platform::current()->duplicateFeaturePolicyWithOrigin(
|
| + *m_featurePolicy, WebSecurityOrigin(m_securityOrigin)));
|
| }
|
|
|
| } // namespace blink
|
|
|