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

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

Issue 1985033003: [DevTools] Use registerWeakMembers in NetworkResourcesData. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 ee5311a1c1eb426c6bffc7d74629525c6066b06c..b6550f6c490247cabdf38863eedc304c30616499 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp
@@ -183,17 +183,6 @@ void continueWithPolicyIgnore(LocalFrame* frame, DocumentLoader* loader, unsigne
didReceiveResourceResponseButCanceled(frame, loader, identifier, r, resource);
}
-void willDestroyResource(Resource* cachedResource)
-{
- ASSERT(isMainThread());
- for (InstrumentingAgents* instrumentingAgents: instrumentingAgentsSet()) {
- if (!instrumentingAgents->hasInspectorResourceAgents())
- continue;
- for (InspectorResourceAgent* resourceAgent : instrumentingAgents->inspectorResourceAgents())
- resourceAgent->willDestroyResource(cachedResource);
- }
-}
-
bool collectingHTMLParseErrors(Document* document)
{
ASSERT(isMainThread());

Powered by Google App Engine
This is Rietveld 408576698