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

Unified Diff: third_party/WebKit/Source/platform/heap/Heap.h

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.h
diff --git a/third_party/WebKit/Source/platform/heap/Heap.h b/third_party/WebKit/Source/platform/heap/Heap.h
index 884ff30c095220c44c0f3998054cd5daff24697a..b02aa40e4b2e6110da6cbba0741dca57fb291d54 100644
--- a/third_party/WebKit/Source/platform/heap/Heap.h
+++ b/third_party/WebKit/Source/platform/heap/Heap.h
@@ -123,7 +123,6 @@ class PLATFORM_EXPORT ProcessHeap {
static CrossThreadPersistentRegion& crossThreadPersistentRegion();
- static bool isLowEndDevice() { return s_isLowEndDevice; }
static void increaseTotalAllocatedObjectSize(size_t delta) {
atomicAdd(&s_totalAllocatedObjectSize, static_cast<long>(delta));
}
@@ -155,7 +154,6 @@ class PLATFORM_EXPORT ProcessHeap {
private:
static bool s_shutdownComplete;
- static bool s_isLowEndDevice;
static size_t s_totalAllocatedSpace;
static size_t s_totalAllocatedObjectSize;
static size_t s_totalMarkedObjectSize;

Powered by Google App Engine
This is Rietveld 408576698