| Index: third_party/WebKit/Source/core/loader/PingLoader.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/PingLoader.cpp b/third_party/WebKit/Source/core/loader/PingLoader.cpp
|
| index 22ab060fcd8a1a3c47f2dc2fe97358aa3437bb06..bea5c41bb24ed9ef3ae3002bf3deab43a094dc5b 100644
|
| --- a/third_party/WebKit/Source/core/loader/PingLoader.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/PingLoader.cpp
|
| @@ -67,7 +67,7 @@ static void finishPingRequestInitialization(ResourceRequest& request, LocalFrame
|
|
|
| void PingLoader::loadImage(LocalFrame* frame, const KURL& url)
|
| {
|
| - if (!frame->document()->securityOrigin()->canDisplay(url)) {
|
| + if (!frame->document()->getSecurityOrigin()->canDisplay(url)) {
|
| FrameLoader::reportLocalLoadFailed(frame, url.getString());
|
| return;
|
| }
|
| @@ -117,7 +117,7 @@ void PingLoader::sendViolationReport(LocalFrame* frame, const KURL& reportURL, P
|
|
|
| FetchInitiatorInfo initiatorInfo;
|
| initiatorInfo.name = FetchInitiatorTypeNames::violationreport;
|
| - PingLoader::start(frame, request, initiatorInfo, SecurityOrigin::create(reportURL)->isSameSchemeHostPort(frame->document()->securityOrigin()) ? AllowStoredCredentials : DoNotAllowStoredCredentials);
|
| + PingLoader::start(frame, request, initiatorInfo, SecurityOrigin::create(reportURL)->isSameSchemeHostPort(frame->document()->getSecurityOrigin()) ? AllowStoredCredentials : DoNotAllowStoredCredentials);
|
| }
|
|
|
| void PingLoader::start(LocalFrame* frame, ResourceRequest& request, const FetchInitiatorInfo& initiatorInfo, StoredCredentials credentialsAllowed)
|
|
|