Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2499)

Unified Diff: Source/web/WebCache.cpp

Issue 398673003: Rename WebCore namespace to blink in bindings and web (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/WebBlob.cpp ('k') | Source/web/WebCachedURLRequest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « Source/web/WebBlob.cpp ('k') | Source/web/WebCachedURLRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698