| Index: tools/perf/metrics/rendering_stats_unittest.py
|
| diff --git a/tools/perf/metrics/rendering_stats_unittest.py b/tools/perf/metrics/rendering_stats_unittest.py
|
| index ec18597b8ce059b7e527be493b62c15cc01aae9c..42eec9ff8c0f68550771f8e6255dd91213d67f2c 100644
|
| --- a/tools/perf/metrics/rendering_stats_unittest.py
|
| +++ b/tools/perf/metrics/rendering_stats_unittest.py
|
| @@ -60,7 +60,8 @@ def AddMainThreadRenderingStats(mock_timer, thread, first_frame,
|
| # Add a slice with the event data to the given thread.
|
| thread.PushCompleteSlice(
|
| 'benchmark', 'BenchmarkInstrumentation::MainThreadRenderingStats',
|
| - timestamp, 0.0, {'data': data})
|
| + timestamp, duration=0.0, thread_timestamp=None, thread_duration=None,
|
| + args={'data': data})
|
|
|
| if not ref_stats:
|
| return
|
| @@ -97,7 +98,8 @@ def AddImplThreadRenderingStats(mock_timer, thread, first_frame,
|
| # Add a slice with the event data to the given thread.
|
| thread.PushCompleteSlice(
|
| 'benchmark', 'BenchmarkInstrumentation::ImplThreadRenderingStats',
|
| - timestamp, 0.0, {'data': data})
|
| + timestamp, duration=0.0, thread_timestamp=None, thread_duration=None,
|
| + args={'data': data})
|
|
|
| if not ref_stats:
|
| return
|
|
|