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

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

Issue 2510623002: Revert of 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 90ca9c2a7b71df07721223af4146b11023966f86..7d7f7f23b2949e8ce759cbc84af818c7f76c379d 100644
--- a/third_party/WebKit/Source/core/fetch/MemoryCache.cpp
+++ b/third_party/WebKit/Source/core/fetch/MemoryCache.cpp
@@ -107,7 +107,7 @@
m_liveSize(0),
m_deadSize(0) {
MemoryCacheDumpProvider::instance()->setMemoryCache(this);
- if (MemoryCoordinator::instance().isLowEndDevice())
+ if (ProcessHeap::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