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

Unified Diff: tracing/tracing/value/ui/histogram_set_table_test.html

Issue 2998043002: Remove RelatedHistogramSet. (Closed)
Patch Set: Created 3 years, 4 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/value/ui/histogram_set_table_test.html
diff --git a/tracing/tracing/value/ui/histogram_set_table_test.html b/tracing/tracing/value/ui/histogram_set_table_test.html
index cd234e8b7ed326513924548092891d181555a45a..598a9f0c6af19f11837dac555ecaa28893a93ac5 100644
--- a/tracing/tracing/value/ui/histogram_set_table_test.html
+++ b/tracing/tracing/value/ui/histogram_set_table_test.html
@@ -96,7 +96,9 @@ tr.b.unittest.testSuite(function() {
const histograms = new tr.v.HistogramSet();
const aHist = histograms.createHistogram('a', tr.b.Unit.byName.count, [1]);
const bHist = histograms.createHistogram('b', tr.b.Unit.byName.count, []);
- aHist.diagnostics.set('r', new tr.v.d.RelatedHistogramSet([bHist]));
+ const related = new tr.v.d.RelatedHistogramMap();
+ related.set('0', bHist);
+ aHist.diagnostics.set('r', related);
const table = await buildTable(this, histograms);
await table.viewState.tableRowStates.get('a').cells.get('Value').update(
{isOpen: true});
@@ -164,7 +166,9 @@ tr.b.unittest.testSuite(function() {
const histograms = new tr.v.HistogramSet();
const aHist = histograms.createHistogram('a', tr.b.Unit.byName.count, [1]);
const bHist = histograms.createHistogram('b', tr.b.Unit.byName.count, []);
- aHist.diagnostics.set('r', new tr.v.d.RelatedHistogramSet([bHist]));
+ const related = new tr.v.d.RelatedHistogramMap();
+ related.set('0', bHist);
+ aHist.diagnostics.set('r', related);
const table = await buildTable(this, histograms);
let cells = getNameCells(table);
« no previous file with comments | « tracing/tracing/value/ui/diagnostic_span.html ('k') | tracing/tracing/value/ui/related_histogram_set_span.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698