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

Unified Diff: Source/core/fetch/MemoryCache.cpp

Issue 1115553002: Removing blink::prefix (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 8 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/core/fetch/ImageResourceTest.cpp ('k') | Source/core/fetch/MemoryCacheTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/MemoryCache.cpp
diff --git a/Source/core/fetch/MemoryCache.cpp b/Source/core/fetch/MemoryCache.cpp
index 4b9cc17f4d89762cabf1d73ea4358fbd7383f398..965687c25c53d60be3e7185620e72ba09ad6fdd0 100644
--- a/Source/core/fetch/MemoryCache.cpp
+++ b/Source/core/fetch/MemoryCache.cpp
@@ -123,7 +123,7 @@ PassOwnPtrWillBeRawPtr<MemoryCache> MemoryCache::create()
MemoryCache::~MemoryCache()
{
if (m_prunePending)
- blink::Platform::current()->currentThread()->removeTaskObserver(this);
+ Platform::current()->currentThread()->removeTaskObserver(this);
}
DEFINE_TRACE(MemoryCache)
@@ -725,7 +725,7 @@ void MemoryCache::prune(Resource* justReleasedResource)
pruneNow(currentTime, AutomaticPrune); // Delay exceeded, prune now.
} else {
// Defer.
- blink::Platform::current()->currentThread()->addTaskObserver(this);
+ Platform::current()->currentThread()->addTaskObserver(this);
m_prunePending = true;
}
}
@@ -771,7 +771,7 @@ void MemoryCache::pruneNow(double currentTime, PruneStrategy strategy)
{
if (m_prunePending) {
m_prunePending = false;
- blink::Platform::current()->currentThread()->removeTaskObserver(this);
+ Platform::current()->currentThread()->removeTaskObserver(this);
}
TemporaryChange<bool> reentrancyProtector(m_inPruneResources, true);
« no previous file with comments | « Source/core/fetch/ImageResourceTest.cpp ('k') | Source/core/fetch/MemoryCacheTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698