| Index: Source/core/fetch/Resource.cpp
|
| diff --git a/Source/core/fetch/Resource.cpp b/Source/core/fetch/Resource.cpp
|
| index 8e7ee67b26f586e7b205b1db9d05d23218f59a8b..8e0389e6bd3e42b08d098641316bbac90870e101 100644
|
| --- a/Source/core/fetch/Resource.cpp
|
| +++ b/Source/core/fetch/Resource.cpp
|
| @@ -422,6 +422,11 @@ void Resource::setCachedMetadata(unsigned dataTypeID, const char* data, size_t s
|
| blink::Platform::current()->cacheMetadata(m_response.url(), m_response.responseTime(), serializedData.data(), serializedData.size());
|
| }
|
|
|
| +void Resource::clearCachedMetadata()
|
| +{
|
| + m_cachedMetadata.clear();
|
| +}
|
| +
|
| bool Resource::canDelete() const
|
| {
|
| return !hasClients() && !m_loader && !m_preloadCount && hasRightHandleCountApartFromCache(0)
|
|
|