Index: third_party/WebKit/Source/core/fetch/CachedMetadataHandler.h |
diff --git a/third_party/WebKit/Source/core/fetch/CachedMetadataHandler.h b/third_party/WebKit/Source/core/fetch/CachedMetadataHandler.h |
index d347d98cf41874c595db4b3903ec0d6a1ed988ce..bc616790bf4d7cc2c75c7341e7159b30739e240c 100644 |
--- a/third_party/WebKit/Source/core/fetch/CachedMetadataHandler.h |
+++ b/third_party/WebKit/Source/core/fetch/CachedMetadataHandler.h |
@@ -28,7 +28,8 @@ public: |
// Reset existing metadata, to allow setting new data. |
virtual void clearCachedMetadata(CacheType = CacheLocally) = 0; |
// Returns cached metadata of the given type associated with this resource. |
- virtual CachedMetadata* cachedMetadata(unsigned dataTypeID) const = 0; |
+ // This cached metadata can be pruned at any time. |
+ virtual PassRefPtr<CachedMetadata> cachedMetadata(unsigned dataTypeID) const = 0; |
// Returns the encoding to which the cache is specific. |
virtual String encoding() const = 0; |