Index: Source/core/loader/cache/MemoryCache.h |
diff --git a/Source/core/loader/cache/MemoryCache.h b/Source/core/loader/cache/MemoryCache.h |
index 8da416cdead5183fdec701c372d8d55552698bba..d299f00b4244768016c7d7dc1f7a36dadfa49af6 100644 |
--- a/Source/core/loader/cache/MemoryCache.h |
+++ b/Source/core/loader/cache/MemoryCache.h |
@@ -43,7 +43,7 @@ struct SecurityOriginHash; |
// This cache holds subresources used by Web pages: images, scripts, stylesheets, etc. |
-// The cache keeps a flexible but bounded window of dead resources that grows/shrinks |
+// The cache keeps a flexible but bounded window of dead resources that grows/shrinks |
// depending on the live resource load. Here's an example of cache growth over time, |
// with a min dead resource capacity of 25% and a max dead resource capacity of 50%: |
@@ -106,14 +106,14 @@ public: |
}; |
CachedResource* resourceForURL(const KURL&); |
- |
+ |
void add(CachedResource*); |
void replace(CachedResource* newResource, CachedResource* oldResource); |
void remove(CachedResource* resource) { evict(resource); } |
static KURL removeFragmentIdentifierIfNeeded(const KURL& originalURL); |
- |
- // Sets the cache's memory capacities, in bytes. These will hold only approximately, |
+ |
+ // Sets the cache's memory capacities, in bytes. These will hold only approximately, |
// since the decoded cost of resources like scripts and stylesheets is not known. |
// - minDeadBytes: The maximum number of bytes that dead resources should consume when the cache is under pressure. |
// - maxDeadBytes: The maximum number of bytes that dead resources should consume when the cache is not under pressure. |
@@ -181,11 +181,11 @@ private: |
// more resources than the cached resource map, since it can also hold "stale" multiple versions of objects that are |
// waiting to die when the clients referencing them go away. |
Vector<LRUList, 32> m_allResources; |
- |
+ |
// List just for live resources with decoded data. Access to this list is based off of painting the resource. |
LRUList m_liveDecodedResources; |
- |
- // A URL-based map of all resources that are in the cache (including the freshest version of objects that are currently being |
+ |
+ // A URL-based map of all resources that are in the cache (including the freshest version of objects that are currently being |
// referenced by a Web page). |
HashMap<String, CachedResource*> m_resources; |