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

Unified Diff: tools/perf/metrics/media.py

Issue 24159003: No need to cast to str in media metric results. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/metrics/media.py
diff --git a/tools/perf/metrics/media.py b/tools/perf/metrics/media.py
index 85ed77f78c142671f5b4be2916ad47c098a18c45..e882889ba7fd33a634ea96ee2ca0c02894aef9bc 100644
--- a/tools/perf/metrics/media.py
+++ b/tools/perf/metrics/media.py
@@ -56,7 +56,7 @@ class MediaMetric(Metric):
for m in metrics:
if m.startswith(metric):
special_label = m[len(metric):]
- results.Add(trace + special_label, unit, str(metrics[m]),
+ results.Add(trace + special_label, unit, metrics[m],
chart_name=metric, data_type='default')
trace = media_metric['id']
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698