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

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

Issue 3002973002: Refactor diagnostic spans to share a polymer behavior. (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/diagnostic_map_table.html
diff --git a/tracing/tracing/value/ui/diagnostic_map_table.html b/tracing/tracing/value/ui/diagnostic_map_table.html
index cd6eadb7ddc415cfd289f1d49b464d684d23367e..fa48bdae9571f9b3dd020813a1c69a36646ab782 100644
--- a/tracing/tracing/value/ui/diagnostic_map_table.html
+++ b/tracing/tracing/value/ui/diagnostic_map_table.html
@@ -24,7 +24,7 @@ tr.exportTo('tr.v.ui', function() {
value(map) {
const diagnostic = map.get(title);
if (!diagnostic) return '';
- return tr.v.ui.createDiagnosticSpan(diagnostic, histogram);
+ return tr.v.ui.createDiagnosticSpan(diagnostic, title, histogram);
}
};
}
@@ -102,7 +102,7 @@ tr.exportTo('tr.v.ui', function() {
value(name) {
const diagnostic = diagnosticMap.get(name.name);
if (!diagnostic) return '';
- return tr.v.ui.createDiagnosticSpan(diagnostic, histogram);
+ return tr.v.ui.createDiagnosticSpan(diagnostic, name, histogram);
}
},
];

Powered by Google App Engine
This is Rietveld 408576698