Index: third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp |
diff --git a/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp |
index f1e24c041b1af5d3da34827752b165c546d138a7..916d056ae3c66186bbe643dc73a3ea9281a9154b 100644 |
--- a/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp |
+++ b/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp |
@@ -1026,8 +1026,6 @@ void InspectorResourceAgent::setCacheDisabled(ErrorString*, bool cacheDisabled) |
m_state->setBoolean(ResourceAgentState::cacheDisabled, cacheDisabled); |
if (cacheDisabled) |
memoryCache()->evictResources(); |
- for (LocalFrame* frame : *m_inspectedFrames) |
- frame->document()->fetcher()->garbageCollectDocumentResources(); |
} |
void InspectorResourceAgent::emulateNetworkConditions(ErrorString*, bool, double, double, double) |