Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Unified Diff: third_party/WebKit/Source/core/loader/PingLoader.cpp

Issue 2649923007: Revert of Show service worker navigation preload requests in DevTools Network tab (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 1250e986dc8849d17ecf139fe70391878c929348..f7b637a8133635c88ca5862e67a4735a977a1518 100644
--- a/third_party/WebKit/Source/core/loader/PingLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/PingLoader.cpp
@@ -349,7 +349,7 @@
InspectorResourceFinishEvent::data(m_identifier, 0, true, 0));
const ResourceResponse& resourceResponse = response.toResourceResponse();
InspectorInstrumentation::didReceiveResourceResponse(
- frame()->document(), m_identifier, 0, resourceResponse, 0);
+ frame(), m_identifier, 0, resourceResponse, 0);
didFailLoading(frame());
}
dispose();
@@ -400,7 +400,7 @@
void PingLoaderImpl::didFailLoading(LocalFrame* frame) {
InspectorInstrumentation::didFailLoading(
- frame->document(), m_identifier, ResourceError::cancelledError(m_url));
+ frame, m_identifier, ResourceError::cancelledError(m_url));
frame->console().didFailLoading(m_identifier,
ResourceError::cancelledError(m_url));
}

Powered by Google App Engine
This is Rietveld 408576698