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

Unified Diff: content/browser/resources/media/stats_graph_helper.js

Issue 14880002: Fixes a memory leak when running webrtc-internals for a long time, by using a circular buffer of si… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix merge conflict Created 7 years, 7 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: content/browser/resources/media/stats_graph_helper.js
diff --git a/content/browser/resources/media/stats_graph_helper.js b/content/browser/resources/media/stats_graph_helper.js
index 33146f9f27e15b53a205a84c6d4a7ab41275571a..63ccf4d3ce29e932773e54eb58e6f34be796381b 100644
--- a/content/browser/resources/media/stats_graph_helper.js
+++ b/content/browser/resources/media/stats_graph_helper.js
@@ -140,6 +140,7 @@ function drawSingleReport(peerConnectionElement, report) {
// both the simple and compound graph cases.
if (!graphViews[graphViewId].hasDataSeries(dataSeries[finalDataSeriesId]))
graphViews[graphViewId].addDataSeries(dataSeries[finalDataSeriesId]);
+
graphViews[graphViewId].updateEndDate();
}
}
« no previous file with comments | « content/browser/resources/media/data_series.js ('k') | content/browser/resources/media/timeline_graph_view.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698