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 b86bbe12ea1c79e6f38e490f065e228edaee0b45..f2f63be9703becb01b8edfb29267cdfe270b4c8a 100644 |
--- a/third_party/WebKit/Source/core/loader/PingLoader.cpp |
+++ b/third_party/WebKit/Source/core/loader/PingLoader.cpp |
@@ -364,7 +364,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()); |
} |
@@ -402,7 +402,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_)); |