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

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

Issue 1667843003: Make Resource RefCountedWillBeGarbageCollectedFinalized, attempt #2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase + address review comments Created 4 years, 10 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 486233eceba39c2b895370a55926a30f60a6ee9f..77d6c371703b9e338536cbcf1707dc1962085519 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp
@@ -110,12 +110,12 @@ void continueWithPolicyIgnoreImpl(LocalFrame* frame, DocumentLoader* loader, uns
didReceiveResourceResponseButCanceledImpl(frame, loader, identifier, r);
}
-void willDestroyResourceImpl(Resource* cachedResource)
+void removedResourceFromMemoryCacheImpl(Resource* cachedResource)
{
ASSERT(isMainThread());
for (InstrumentingAgents* instrumentingAgents: instrumentingAgentsSet()) {
if (InspectorResourceAgent* inspectorResourceAgent = instrumentingAgents->inspectorResourceAgent())
- inspectorResourceAgent->willDestroyResource(cachedResource);
+ inspectorResourceAgent->removedResourceFromMemoryCache(cachedResource);
}
}

Powered by Google App Engine
This is Rietveld 408576698