| 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 3b5942797903255156b422804d0ebed9d07a3d7f..306f3a89b157a8fce3c197aa4c3fb65817ad0906 100644
|
| --- a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp
|
| @@ -156,7 +156,7 @@ bool CSPDirectiveList::checkAncestors(SourceListDirective* directive, LocalFrame
|
| //
|
| // TODO(mkwst): Move this check up into the browser process. See
|
| // https://crbug.com/555418.
|
| - KURL url(KURL(), current->securityContext()->securityOrigin()->toString());
|
| + KURL url(KURL(), current->securityContext()->getSecurityOrigin()->toString());
|
| if (!directive->allows(url, ContentSecurityPolicy::DidNotRedirect))
|
| return false;
|
| }
|
|
|