| 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 3256cbe3eb99c6b898cefa26823664fada4beb41..2919da4a23ffbb7d8d27df4d48a69babc7945db6 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp
|
| @@ -186,14 +186,14 @@ void continueWithPolicyIgnore(LocalFrame* frame, DocumentLoader* loader, unsigne
|
| didReceiveResourceResponseButCanceled(frame, loader, identifier, r);
|
| }
|
|
|
| -void removedResourceFromMemoryCache(Resource* cachedResource)
|
| +void willDestroyResource(Resource* cachedResource)
|
| {
|
| ASSERT(isMainThread());
|
| for (InstrumentingAgents* instrumentingAgents: instrumentingAgentsSet()) {
|
| if (!instrumentingAgents->hasInspectorResourceAgents())
|
| continue;
|
| for (InspectorResourceAgent* resourceAgent : instrumentingAgents->inspectorResourceAgents())
|
| - resourceAgent->removedResourceFromMemoryCache(cachedResource);
|
| + resourceAgent->willDestroyResource(cachedResource);
|
| }
|
| }
|
|
|
|
|