Commit 9075488a authored by shadi@chromium.org's avatar shadi@chromium.org

No need to cast to str in media metric results.

BUG=291379

Review URL: https://chromiumcodereview.appspot.com/24159003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223501 0039d316-1c4b-4281-b951-d872f2087c98
parent 9260757f
......@@ -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']
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment