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

Unified Diff: tracing/tracing/ui/analysis/memory_dump_overview_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_overview_pane_test.html
diff --git a/tracing/tracing/ui/analysis/memory_dump_overview_pane_test.html b/tracing/tracing/ui/analysis/memory_dump_overview_pane_test.html
index f2d0a5b4e426f5bbc77b9aec2dfeaac84426b705..3208a04e5a600fcc02cc065f5d76b48fb1e81927 100644
--- a/tracing/tracing/ui/analysis/memory_dump_overview_pane_test.html
+++ b/tracing/tracing/ui/analysis/memory_dump_overview_pane_test.html
@@ -515,7 +515,7 @@ tr.b.unittest.testSuite(function() {
});
test('usedMemoryColumn', function() {
- const c = new UsedMemoryColumn('Private', 'bytes', tr.b.identity,
+ const c = new UsedMemoryColumn('Private', 'bytes', (x => x),
AggregationMode.DIFF);
checkSpanWithColor(c.title, 'Private',
UsedMemoryColumn.COLOR /* blue (column title) */);
@@ -524,7 +524,7 @@ tr.b.unittest.testSuite(function() {
});
test('peakMemoryColumn', function() {
- const c = new PeakMemoryColumn('Peak', 'bytes', tr.b.identity,
+ const c = new PeakMemoryColumn('Peak', 'bytes', (x => x),
AggregationMode.MAX);
checkSpanWithColor(c.title, 'Peak',
UsedMemoryColumn.COLOR /* blue (column title) */);
@@ -608,7 +608,7 @@ tr.b.unittest.testSuite(function() {
});
test('byteStatColumn', function() {
- const c = new ByteStatColumn('Stat', 'bytes', tr.b.identity,
+ const c = new ByteStatColumn('Stat', 'bytes', (x => x),
AggregationMode.DIFF);
checkSpanWithColor(c.title, 'Stat',
UsedMemoryColumn.COLOR /* blue (column title) */);
@@ -686,7 +686,7 @@ tr.b.unittest.testSuite(function() {
});
test('allocatorColumn', function() {
- const c = new AllocatorColumn('Allocator', 'bytes', tr.b.identity,
+ const c = new AllocatorColumn('Allocator', 'bytes', (x => x),
AggregationMode.MAX);
checkColorLegend(c.title, 'Allocator');
checkColor(c.color(undefined /* contexts */),
@@ -821,7 +821,7 @@ tr.b.unittest.testSuite(function() {
});
test('tracingColumn', function() {
- const c = new TracingColumn('Tracing', 'bytes', tr.b.identity,
+ const c = new TracingColumn('Tracing', 'bytes', (x => x),
AggregationMode.DIFF);
checkSpanWithColor(c.title, 'Tracing',
TracingColumn.COLOR /* expected column title gray color */);
« no previous file with comments | « tracing/tracing/ui/analysis/memory_dump_allocator_details_pane_test.html ('k') | tracing/tracing/ui/tracks/model_track.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698