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

Unified Diff: third_party/WebKit/Source/platform/heap/Heap.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/platform/heap/Heap.cpp
diff --git a/third_party/WebKit/Source/platform/heap/Heap.cpp b/third_party/WebKit/Source/platform/heap/Heap.cpp
index 31b391c7a706b07c5c6363ce8e9514305d543314..bc83a90b9886d3b9b3a41c77f2e50dee28f1a5de 100644
--- a/third_party/WebKit/Source/platform/heap/Heap.cpp
+++ b/third_party/WebKit/Source/platform/heap/Heap.cpp
@@ -30,7 +30,6 @@
#include "platform/heap/Heap.h"
-#include "base/sys_info.h"
#include "platform/Histogram.h"
#include "platform/RuntimeEnabledFeatures.h"
#include "platform/ScriptForbiddenScope.h"
@@ -106,7 +105,6 @@ void ProcessHeap::init() {
s_totalAllocatedSpace = 0;
s_totalAllocatedObjectSize = 0;
s_totalMarkedObjectSize = 0;
- s_isLowEndDevice = base::SysInfo::IsLowEndDevice();
GCInfoTable::init();
CallbackStackMemoryPool::instance().initialize();
@@ -139,7 +137,6 @@ CrossThreadPersistentRegion& ProcessHeap::crossThreadPersistentRegion() {
}
bool ProcessHeap::s_shutdownComplete = false;
-bool ProcessHeap::s_isLowEndDevice = false;
size_t ProcessHeap::s_totalAllocatedSpace = 0;
size_t ProcessHeap::s_totalAllocatedObjectSize = 0;
size_t ProcessHeap::s_totalMarkedObjectSize = 0;

Powered by Google App Engine
This is Rietveld 408576698