| 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 263f3db17995dbdda619a87e16babba73b8faa43..da13352d4866f310e144a633998fe0bcf240b50a 100644
|
| --- a/third_party/WebKit/Source/core/loader/PingLoader.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/PingLoader.cpp
|
| @@ -353,7 +353,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());
|
| }
|
| @@ -391,7 +391,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_));
|
|
|