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

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

Issue 2510353005: Move ProcessHeap::isLowEndDevice to MemoryCoordinator (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | third_party/WebKit/Source/platform/MemoryCoordinator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/fetch/MemoryCache.cpp
diff --git a/third_party/WebKit/Source/core/fetch/MemoryCache.cpp b/third_party/WebKit/Source/core/fetch/MemoryCache.cpp
index d0539d107bf7641407caa089dccc3a6fc69444a6..913c70abe8a36d3ba39f2e11861291b92926de68 100644
--- a/third_party/WebKit/Source/core/fetch/MemoryCache.cpp
+++ b/third_party/WebKit/Source/core/fetch/MemoryCache.cpp
@@ -84,7 +84,7 @@ inline MemoryCache::MemoryCache()
m_delayBeforeLiveDecodedPrune(cMinDelayBeforeLiveDecodedPrune),
m_size(0) {
MemoryCacheDumpProvider::instance()->setMemoryCache(this);
- if (ProcessHeap::isLowEndDevice())
+ if (MemoryCoordinator::instance().isLowEndDevice())
MemoryCoordinator::instance().registerClient(this);
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/MemoryCoordinator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698