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

Unified Diff: tracing/tracing/results2_template.html

Issue 2474573002: Convert chart-json to Histograms. (Closed)
Patch Set: . Created 4 years, 1 month 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
« no previous file with comments | « tracing/bin/valueset2html ('k') | tracing/tracing/results_renderer.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/results2_template.html
diff --git a/tracing/tracing/results2_template.html b/tracing/tracing/results2_template.html
index 2751afb9ad094cd966b3805dd1c6ae9294505b68..a651b3373770e238390d895ac9cd8cf3b3242505 100644
--- a/tracing/tracing/results2_template.html
+++ b/tracing/tracing/results2_template.html
@@ -105,7 +105,6 @@ class HistogramImporter {
removeJsonDivs_() {
document.body.removeChild(this.jsonDivs_[0].parentNode);
- delete this.jsonDivs_;
}
}
@@ -113,6 +112,9 @@ var importer = new HistogramImporter();
document.addEventListener('DOMContentLoaded', () => {
importer.importHistograms();
+
+ // Free the objects and DOM referenced by the importer.
+ importer = undefined;
});
})();
« no previous file with comments | « tracing/bin/valueset2html ('k') | tracing/tracing/results_renderer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698