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 bef3da748378139c565f42258f31949b48c8d4f3..180ef4bd5343bfa6a3a4978efb6f89c644dc26c5 100644 |
--- a/third_party/WebKit/Source/core/loader/PingLoader.cpp |
+++ b/third_party/WebKit/Source/core/loader/PingLoader.cpp |
@@ -345,7 +345,7 @@ void PingLoaderImpl::didReceiveResponse(const WebURLResponse& response) { |
InspectorResourceFinishEvent::data(m_identifier, 0, true, 0)); |
const ResourceResponse& resourceResponse = response.toResourceResponse(); |
InspectorInstrumentation::didReceiveResourceResponse( |
- frame(), m_identifier, 0, resourceResponse, 0); |
+ frame()->document(), m_identifier, 0, resourceResponse, 0); |
didFailLoading(frame()); |
} |
dispose(); |
@@ -396,7 +396,7 @@ void PingLoaderImpl::timeout(TimerBase*) { |
void PingLoaderImpl::didFailLoading(LocalFrame* frame) { |
InspectorInstrumentation::didFailLoading( |
- frame, m_identifier, ResourceError::cancelledError(m_url)); |
+ frame->document(), m_identifier, ResourceError::cancelledError(m_url)); |
frame->console().didFailLoading(m_identifier, |
ResourceError::cancelledError(m_url)); |
} |