| 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 83795eab755a3245726effb2df430a6098478eac..a134652044537b2b48a996206429ce532c7ecf40 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorInstrumentation.cpp
|
| @@ -200,7 +200,7 @@ void continueWithPolicyIgnore(LocalFrame* frame, DocumentLoader* loader, unsigne
|
| didReceiveResourceResponseButCanceled(frame, loader, identifier, r);
|
| }
|
|
|
| -void removedResourceFromMemoryCache(Resource* cachedResource)
|
| +void willDestroyResource(Resource* cachedResource)
|
| {
|
| ASSERT(isMainThread());
|
| for (InstrumentingSessions* instrumentingSessions: instrumentingSessionsSet()) {
|
| @@ -208,7 +208,7 @@ void removedResourceFromMemoryCache(Resource* cachedResource)
|
| continue;
|
| for (InspectorSession* session : *instrumentingSessions) {
|
| if (InspectorResourceAgent* inspectorResourceAgent = session->instrumentingAgents()->inspectorResourceAgent())
|
| - inspectorResourceAgent->removedResourceFromMemoryCache(cachedResource);
|
| + inspectorResourceAgent->willDestroyResource(cachedResource);
|
| }
|
| }
|
| }
|
|
|