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

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: Fix known issues 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 dec7526441cb93d18b4e3bdee69e7ec6fbe11f18..0e6f1cd36f4eda1af3510277178768cb29ba46db 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp
@@ -111,12 +111,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