Commit 0264d7c6 authored by nednguyen@google.com's avatar nednguyen@google.com

Fix 'unit' typo in media benchmark.

TBR=tonyg@chromium.org
NOTRY=true
BUG=

Review URL: https://codereview.chromium.org/334713002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276757 0039d316-1c4b-4281-b951-d872f2087c98
parent 91ff44d8
......@@ -18,13 +18,13 @@ class _MSEMeasurement(page_measurement.PageMeasurement):
trace_name = '%s.%s' % (m, trace)
if isinstance(metrics[m], list):
results.AddValue(list_of_scalar_values.ListOfScalarValues(
results.current_page, trace_name, unit='ms',
results.current_page, trace_name, units='ms',
values=[float(v) for v in metrics[m]],
important=True))
else:
results.AddValue(scalar.ScalarValue(
results.current_page, trace_name, unit='ms',
results.current_page, trace_name, units='ms',
value=float(metrics[m]), important=True))
......
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