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

Unified Diff: tracing/tracing/model/memory_allocator_dump.html

Issue 3012153002: Add leakDetectionMetric for tracing (Closed)
Patch Set: Use ES6 Created 3 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
Index: tracing/tracing/model/memory_allocator_dump.html
diff --git a/tracing/tracing/model/memory_allocator_dump.html b/tracing/tracing/model/memory_allocator_dump.html
index 42174194ebfdce7a16f2e109697818b23f136030..26e9fa59ffe58d8325f10630bcd12559d1105c9a 100644
--- a/tracing/tracing/model/memory_allocator_dump.html
+++ b/tracing/tracing/model/memory_allocator_dump.html
@@ -112,6 +112,12 @@ tr.exportTo('tr.model', function() {
this.diagnostics[name] = text;
},
+ addChildren(array) {
+ if (Array.isArray(array)) {
+ this.children = array;
+ }
+ },
+
aggregateNumericsRecursively(opt_model) {
const numericNames = new Set();

Powered by Google App Engine
This is Rietveld 408576698