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

Unified Diff: third_party/WebKit/Source/core/fetch/Resource.cpp

Issue 2435873003: [WeakMemoryCache] Do not prune in didAccessDecodedData() (Closed)
Patch Set: Rebase Created 4 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/fetch/Resource.cpp
diff --git a/third_party/WebKit/Source/core/fetch/Resource.cpp b/third_party/WebKit/Source/core/fetch/Resource.cpp
index 797293a9237202c027308a2c090d1bc15d54068d..c21a1fed94078c4ee731649d7b6000b8407c98ea 100644
--- a/third_party/WebKit/Source/core/fetch/Resource.cpp
+++ b/third_party/WebKit/Source/core/fetch/Resource.cpp
@@ -808,7 +808,6 @@ void Resource::setEncodedSizeMemoryUsage(size_t encodedSize) {
void Resource::didAccessDecodedData() {
memoryCache()->updateDecodedResource(this, UpdateForAccess);
- memoryCache()->prune();
}
void Resource::finishPendingClients() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698