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

Unified Diff: Source/wtf/Partitions.h

Issue 1315113006: Add partitionsOutOfMemoryUsingXXX to know Blink memory usage from OOM crash reports (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing Created 5 years, 3 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
« no previous file with comments | « Source/wtf/PartitionAlloc.cpp ('k') | Source/wtf/Partitions.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/Partitions.h
diff --git a/Source/wtf/Partitions.h b/Source/wtf/Partitions.h
index 8ec619e88dfecb91d9e1fcd567201c47a25cb92a..276380472bd64b9e5beed85d8c9c172309b45d2d 100644
--- a/Source/wtf/Partitions.h
+++ b/Source/wtf/Partitions.h
@@ -118,6 +118,8 @@ public:
return partitionAllocActualSize(bufferPartition(), n);
}
+ static void handleOutOfMemory();
+
private:
static int s_initializationLock;
static bool s_initialized;
« no previous file with comments | « Source/wtf/PartitionAlloc.cpp ('k') | Source/wtf/Partitions.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698