| Index: Source/web/WebCache.cpp
|
| diff --git a/Source/web/WebCache.cpp b/Source/web/WebCache.cpp
|
| index dad1210497e221d52be0da30fed426b1356acf7e..68fe3ef5fcc69950fd6f81cd9c19fee883915ac0 100644
|
| --- a/Source/web/WebCache.cpp
|
| +++ b/Source/web/WebCache.cpp
|
| @@ -33,7 +33,7 @@
|
|
|
| #include "core/fetch/MemoryCache.h"
|
|
|
| -using WebCore::MemoryCache;
|
| +using blink::MemoryCache;
|
|
|
| namespace blink {
|
|
|
| @@ -51,14 +51,14 @@ static void ToResourceTypeStat(const MemoryCache::TypeStatistic& from,
|
| void WebCache::setCapacities(
|
| size_t minDeadCapacity, size_t maxDeadCapacity, size_t capacity)
|
| {
|
| - MemoryCache* cache = WebCore::memoryCache();
|
| + MemoryCache* cache = blink::memoryCache();
|
| if (cache)
|
| cache->setCapacities(static_cast<unsigned>(minDeadCapacity), static_cast<unsigned>(maxDeadCapacity), static_cast<unsigned>(capacity));
|
| }
|
|
|
| void WebCache::clear()
|
| {
|
| - MemoryCache* cache = WebCore::memoryCache();
|
| + MemoryCache* cache = blink::memoryCache();
|
| if (cache)
|
| cache->evictResources();
|
| }
|
| @@ -67,7 +67,7 @@ void WebCache::getUsageStats(UsageStats* result)
|
| {
|
| ASSERT(result);
|
|
|
| - MemoryCache* cache = WebCore::memoryCache();
|
| + MemoryCache* cache = blink::memoryCache();
|
| if (cache) {
|
| result->minDeadCapacity = cache->minDeadCapacity();
|
| result->maxDeadCapacity = cache->maxDeadCapacity();
|
| @@ -80,7 +80,7 @@ void WebCache::getUsageStats(UsageStats* result)
|
|
|
| void WebCache::getResourceTypeStats(ResourceTypeStats* result)
|
| {
|
| - MemoryCache* cache = WebCore::memoryCache();
|
| + MemoryCache* cache = blink::memoryCache();
|
| if (cache) {
|
| MemoryCache::Statistics stats = cache->getStatistics();
|
| ToResourceTypeStat(stats.images, result->images);
|
|
|