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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp

Issue 2620463002: Show service worker navigation preload requests in DevTools Network tab (Closed)
Patch Set: fix crash 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/inspector/InspectorInstrumentation.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp b/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp
index b50f68b7e68c7e45a358f428652557739869ec98..7a33ad337c491f1ae8197a8ffc03aff6b0cbd5b5 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp
@@ -136,7 +136,8 @@ void didReceiveResourceResponseButCanceled(LocalFrame* frame,
unsigned long identifier,
const ResourceResponse& r,
Resource* resource) {
- didReceiveResourceResponse(frame, identifier, loader, r, resource);
+ didReceiveResourceResponse(frame->document(), identifier, loader, r,
+ resource);
}
void canceledAfterReceivedResourceResponse(LocalFrame* frame,

Powered by Google App Engine
This is Rietveld 408576698