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

Unified Diff: third_party/WebKit/Source/platform/wtf/allocator/Partitions.h

Issue 2948983002: Low memory page navigation GC for low end devices (Closed)
Patch Set: fix Created 3 years, 6 months 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/wtf/allocator/Partitions.h
diff --git a/third_party/WebKit/Source/platform/wtf/allocator/Partitions.h b/third_party/WebKit/Source/platform/wtf/allocator/Partitions.h
index 67e87bb4615d158905444d7b7b6fb8bbdea56237..ee0da1abba853c5f776408fc287310b860793b38 100644
--- a/third_party/WebKit/Source/platform/wtf/allocator/Partitions.h
+++ b/third_party/WebKit/Source/platform/wtf/allocator/Partitions.h
@@ -87,6 +87,8 @@ class WTF_EXPORT Partitions {
return total_size;
}
+ static size_t TotalActiveBytes();
+
static void DecommitFreeableMemory();
static void ReportMemoryUsageHistogram();

Powered by Google App Engine
This is Rietveld 408576698