| 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 563614afeba79ec013bcce3d6ef19a7c56a3e840..e9979f258c141b1fa4e02aaf7e0afb4489139aed 100644
|
| --- a/third_party/WebKit/Source/core/loader/PingLoader.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/PingLoader.cpp
|
| @@ -347,7 +347,7 @@ bool PingLoaderImpl::WillFollowRedirect(
|
| void PingLoaderImpl::DidReceiveResponse(const WebURLResponse& response) {
|
| if (GetFrame()) {
|
| const ResourceResponse& resource_response = response.ToResourceResponse();
|
| - probe::didReceiveResourceResponse(GetFrame(), identifier_, 0,
|
| + probe::didReceiveResourceResponse(GetFrame()->GetDocument(), identifier_, 0,
|
| resource_response, 0);
|
| DidFailLoading(GetFrame());
|
| }
|
| @@ -383,7 +383,7 @@ void PingLoaderImpl::Timeout(TimerBase*) {
|
| }
|
|
|
| void PingLoaderImpl::DidFailLoading(LocalFrame* frame) {
|
| - probe::didFailLoading(frame, identifier_,
|
| + probe::didFailLoading(frame->GetDocument(), identifier_,
|
| ResourceError::CancelledError(url_));
|
| frame->Console().DidFailLoading(identifier_,
|
| ResourceError::CancelledError(url_));
|
|
|