| Index: third_party/WebKit/Source/core/frame/csp/SourceListDirective.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/csp/SourceListDirective.cpp b/third_party/WebKit/Source/core/frame/csp/SourceListDirective.cpp
|
| index 588723028776f05d74da2efb810aa7094509ed28..03605790cc5c973bb052939b73e2d709362d0fd1 100644
|
| --- a/third_party/WebKit/Source/core/frame/csp/SourceListDirective.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/csp/SourceListDirective.cpp
|
| @@ -68,15 +68,10 @@ bool SourceListDirective::allows(
|
| return hasSourceMatchInList(url, redirectStatus);
|
| }
|
|
|
| - KURL effectiveURL =
|
| - m_policy->selfMatchesInnerURL() && SecurityOrigin::shouldUseInnerURL(url)
|
| - ? SecurityOrigin::extractInnerURL(url)
|
| - : url;
|
| -
|
| - if (m_allowSelf && m_policy->urlMatchesSelf(effectiveURL))
|
| + if (m_allowSelf && m_policy->urlMatchesSelf(url))
|
| return true;
|
|
|
| - return hasSourceMatchInList(effectiveURL, redirectStatus);
|
| + return hasSourceMatchInList(url, redirectStatus);
|
| }
|
|
|
| bool SourceListDirective::allowInline() const {
|
|
|