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

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

Issue 2503433003: Move ProcessHeap::isLowEndDevice to MemoryCoordinator (Closed)
Patch Set: Fixed compile 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 7d7f7f23b2949e8ce759cbc84af818c7f76c379d..90ca9c2a7b71df07721223af4146b11023966f86 100644
--- a/third_party/WebKit/Source/core/fetch/MemoryCache.cpp
+++ b/third_party/WebKit/Source/core/fetch/MemoryCache.cpp
@@ -107,7 +107,7 @@ inline MemoryCache::MemoryCache()
m_liveSize(0),
m_deadSize(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