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

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

Issue 2518273003: [Blink Heap] Move isLowEndDevice to Memory Coordinator, attempt #3 (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
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..d8af6d6b70d50b086ce426fd84a0ab9bc82915f3 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::isLowEndDevice())
MemoryCoordinator::instance().registerClient(this);
}

Powered by Google App Engine
This is Rietveld 408576698