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

Unified Diff: tracing/tracing/ui/analysis/memory_dump_allocator_details_pane_test.html

Issue 2955053002: Remove tr.b.identity. (Closed)
Patch Set: 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: tracing/tracing/ui/analysis/memory_dump_allocator_details_pane_test.html
diff --git a/tracing/tracing/ui/analysis/memory_dump_allocator_details_pane_test.html b/tracing/tracing/ui/analysis/memory_dump_allocator_details_pane_test.html
index 6fc08936e5e6534723858c0b462e7094c4c80829..0cc646eec8fb88a2fa6c0e51ef6a2bea0f6ef554 100644
--- a/tracing/tracing/ui/analysis/memory_dump_allocator_details_pane_test.html
+++ b/tracing/tracing/ui/analysis/memory_dump_allocator_details_pane_test.html
@@ -667,7 +667,7 @@ tr.b.unittest.testSuite(function() {
});
test('effectiveSizeColumn_noContext', function() {
- const c = new EffectiveSizeColumn('Effective Size', 'bytes', tr.b.identity,
+ const c = new EffectiveSizeColumn('Effective Size', 'bytes', (x => x),
AggregationMode.DIFF);
// Single selection.
@@ -686,7 +686,7 @@ tr.b.unittest.testSuite(function() {
});
test('effectiveSizeColumn_suballocationContext', function() {
- const c = new EffectiveSizeColumn('Effective Size', 'bytes', tr.b.identity,
+ const c = new EffectiveSizeColumn('Effective Size', 'bytes', (x => x),
AggregationMode.MAX);
// Single selection.
@@ -706,7 +706,7 @@ tr.b.unittest.testSuite(function() {
});
test('effectiveSizeColumn_dumpContext_noOwnership', function() {
- const c = new EffectiveSizeColumn('Effective Size', 'bytes', tr.b.identity,
+ const c = new EffectiveSizeColumn('Effective Size', 'bytes', (x => x),
AggregationMode.DIFF);
const pmds = buildProcessMemoryDumps(4 /* count */, function(pmds) {
addRootDumps(pmds[0], ['v8'], function(v8Dump) {
@@ -739,7 +739,7 @@ tr.b.unittest.testSuite(function() {
});
test('effectiveSizeColumn_dumpContext_singleOwnership', function() {
- const c = new EffectiveSizeColumn('Effective Size', 'bytes', tr.b.identity,
+ const c = new EffectiveSizeColumn('Effective Size', 'bytes', (x => x),
AggregationMode.MAX);
const pmds = buildProcessMemoryDumps(5 /* count */, function(pmds) {
addRootDumps(pmds[0], ['v8', 'oilpan'], function(v8Dump, oilpanDump) {
@@ -847,7 +847,7 @@ tr.b.unittest.testSuite(function() {
});
test('effectiveSizeColumn_dumpContext_multipleOwnerships', function() {
- const c = new EffectiveSizeColumn('Effective Size', 'bytes', tr.b.identity,
+ const c = new EffectiveSizeColumn('Effective Size', 'bytes', (x => x),
AggregationMode.DIFF);
const pmds = buildProcessMemoryDumps(6 /* count */, function(pmds) {
addRootDumps(pmds[0], ['v8', 'oilpan'], function(v8Dump, oilpanDump) {
@@ -1011,7 +1011,7 @@ tr.b.unittest.testSuite(function() {
});
test('sizeColumn_noContext', function() {
- const c = new SizeColumn('Size', 'bytes', tr.b.identity,
+ const c = new SizeColumn('Size', 'bytes', (x => x),
AggregationMode.DIFF);
// Single selection.
@@ -1030,7 +1030,7 @@ tr.b.unittest.testSuite(function() {
});
test('sizeColumn_suballocationContext', function() {
- const c = new SizeColumn('Size', 'bytes', tr.b.identity,
+ const c = new SizeColumn('Size', 'bytes', (x => x),
AggregationMode.MAX);
// Single selection.
@@ -1049,8 +1049,7 @@ tr.b.unittest.testSuite(function() {
});
test('sizeColumn_dumpContext', function() {
- const c = new SizeColumn('Size', 'bytes', tr.b.identity,
- AggregationMode.DIFF);
+ const c = new SizeColumn('Size', 'bytes', (x => x), AggregationMode.DIFF);
const pmds = buildProcessMemoryDumps(7 /* count */, function(pmds) {
addRootDumps(pmds[0], ['v8'], function(v8Dump) {
// Single direct overlap (v8/objects -> v8/heaps).
« no previous file with comments | « tracing/tracing/model/clock_sync_manager.html ('k') | tracing/tracing/ui/analysis/memory_dump_overview_pane_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698