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

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

Issue 3009553002: Refactor Histogram relationship diagnostics. (Closed)
Patch Set: 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/value/ui/diagnostic_span.html
diff --git a/tracing/tracing/value/ui/diagnostic_span.html b/tracing/tracing/value/ui/diagnostic_span.html
index 64b2d4a68a9d753d67277856c6ab489ee6c04620..ae632d2b22eeeb946214f34ab9328dee10ed28aa 100644
--- a/tracing/tracing/value/ui/diagnostic_span.html
+++ b/tracing/tracing/value/ui/diagnostic_span.html
@@ -12,7 +12,6 @@ found in the LICENSE file.
<link rel="import" href="/tracing/value/ui/date_range_span.html">
<link rel="import" href="/tracing/value/ui/generic_set_span.html">
<link rel="import" href="/tracing/value/ui/related_event_set_span.html">
-<link rel="import" href="/tracing/value/ui/related_histogram_map_span.html">
<link rel="import" href="/tracing/value/ui/scalar_diagnostic_span.html">
<link rel="import" href="/tracing/value/ui/tag_map_span.html">
<link rel="import" href="/tracing/value/ui/unmergeable_diagnostic_set_span.html">
@@ -60,11 +59,11 @@ tr.exportTo('tr.v.ui', function() {
* @param {!tr.v.Histogram} histogram
* @return {Element}
*/
- function createDiagnosticSpan(diagnostic, name, histogram) {
+ function createDiagnosticSpan(diagnostic, name, histogram, histograms) {
const tagName = findElementNameForDiagnostic(diagnostic);
const span = document.createElement(tagName);
if (span.build === undefined) throw new Error(tagName);
- span.build(diagnostic, name, histogram);
+ span.build(diagnostic, name, histogram, histograms);
return span;
}
« no previous file with comments | « tracing/tracing/value/ui/diagnostic_map_table.html ('k') | tracing/tracing/value/ui/diagnostic_span_behavior.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698