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 801f61c103e01e56420e11be8a5d4453d6bfeb50..6efd09e0aa963c4851159090d5bb7f9f11cb2022 100644 |
--- a/third_party/WebKit/Source/core/fetch/Resource.cpp |
+++ b/third_party/WebKit/Source/core/fetch/Resource.cpp |
@@ -704,7 +704,6 @@ void Resource::willAddClientOrObserver(PreloadReferencePolicy policy) { |
} |
if (!hasClientsOrObservers()) { |
m_isAlive = true; |
- memoryCache()->makeLive(this); |
} |
} |
@@ -755,7 +754,6 @@ void Resource::removeClient(ResourceClient* client) { |
void Resource::didRemoveClientOrObserver() { |
if (!hasClientsOrObservers() && m_isAlive) { |
m_isAlive = false; |
- memoryCache()->makeDead(this); |
allClientsAndObserversRemoved(); |
// RFC2616 14.9.2: |
@@ -789,7 +787,6 @@ void Resource::setDecodedSize(size_t decodedSize) { |
size_t oldSize = size(); |
m_decodedSize = decodedSize; |
memoryCache()->update(this, oldSize, size()); |
- memoryCache()->updateDecodedResource(this, UpdateForPropertyChange); |
} |
void Resource::setEncodedSize(size_t encodedSize) { |
@@ -800,10 +797,6 @@ void Resource::setEncodedSize(size_t encodedSize) { |
memoryCache()->update(this, oldSize, size()); |
} |
-void Resource::didAccessDecodedData() { |
- memoryCache()->updateDecodedResource(this, UpdateForAccess); |
-} |
- |
void Resource::finishPendingClients() { |
// We're going to notify clients one by one. It is simple if the client does |
// nothing. However there are a couple other things that can happen. |