| Index: third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp
|
| index d90f9266bb2925e3255599e4c592c0aeadb5c845..5a96d8b6b12a2bd0a72e5a5157841b62358180e6 100644
|
| --- a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp
|
| @@ -670,7 +670,7 @@ void CSPDirectiveList::enableInsecureRequestsUpgrade(const String& name, const S
|
| }
|
| m_upgradeInsecureRequests = true;
|
|
|
| - m_policy->setInsecureRequestsPolicy(SecurityContext::InsecureRequestsUpgrade);
|
| + m_policy->upgradeInsecureRequests();
|
| if (!value.isEmpty())
|
| m_policy->reportValueForEmptyDirective(name, value);
|
| }
|
|
|