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 3dd2133f7dad45de7b0fee13bbc83da20bee959b..e5777d0f73231bbf44226c94b78b9926dd54f1e0 100644 |
--- a/third_party/WebKit/Source/core/dom/SecurityContext.cpp |
+++ b/third_party/WebKit/Source/core/dom/SecurityContext.cpp |
@@ -107,15 +107,15 @@ void SecurityContext::InitializeFeaturePolicy( |
const WebFeaturePolicy* parent_feature_policy) { |
DCHECK(!feature_policy_); |
WebSecurityOrigin origin = WebSecurityOrigin(security_origin_); |
- feature_policy_.reset(Platform::Current()->CreateFeaturePolicy( |
- parent_feature_policy, container_policy, parsed_header, origin)); |
+ feature_policy_ = Platform::Current()->CreateFeaturePolicy( |
+ parent_feature_policy, container_policy, parsed_header, origin); |
} |
void SecurityContext::UpdateFeaturePolicyOrigin() { |
if (!feature_policy_) |
return; |
- feature_policy_.reset(Platform::Current()->DuplicateFeaturePolicyWithOrigin( |
- *feature_policy_, WebSecurityOrigin(security_origin_))); |
+ feature_policy_ = Platform::Current()->DuplicateFeaturePolicyWithOrigin( |
+ *feature_policy_, WebSecurityOrigin(security_origin_)); |
} |
} // namespace blink |