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 01744876dd14b1d5f77e5b62281bab1862fc4e3a..2d63539da3f69dc9a13b4a1a4c5330b1352f62bd 100644 |
--- a/third_party/WebKit/Source/core/loader/PingLoader.cpp |
+++ b/third_party/WebKit/Source/core/loader/PingLoader.cpp |
@@ -346,7 +346,7 @@ bool PingLoaderImpl::willFollowRedirect( |
void PingLoaderImpl::didReceiveResponse(const WebURLResponse& response) { |
if (frame()) { |
const ResourceResponse& resourceResponse = response.toResourceResponse(); |
- probe::didReceiveResourceResponse(frame(), m_identifier, 0, |
+ probe::didReceiveResourceResponse(frame()->document(), m_identifier, 0, |
resourceResponse, 0); |
didFailLoading(frame()); |
} |
@@ -382,7 +382,7 @@ void PingLoaderImpl::timeout(TimerBase*) { |
} |
void PingLoaderImpl::didFailLoading(LocalFrame* frame) { |
- probe::didFailLoading(frame, m_identifier, |
+ probe::didFailLoading(frame->document(), m_identifier, |
ResourceError::cancelledError(m_url)); |
frame->console().didFailLoading(m_identifier, |
ResourceError::cancelledError(m_url)); |