| Index: tools/perf/measurements/v8_gc_times.py
|
| diff --git a/tools/perf/measurements/v8_gc_times.py b/tools/perf/measurements/v8_gc_times.py
|
| index 01e2d0175848f9f9e3ff0cf3e0393d1b58c95562..c9649024f52c2babedb4d81baff5e386bf3d5df6 100644
|
| --- a/tools/perf/measurements/v8_gc_times.py
|
| +++ b/tools/perf/measurements/v8_gc_times.py
|
| @@ -42,6 +42,10 @@ class V8GCTimes(page_test.PageTest):
|
| renderer_process = timeline_model.GetRendererProcessFromTabId(tab.id)
|
| self._AddV8MetricsToResults(renderer_process, results)
|
|
|
| + def CleanUpAfterPage(self, page, tab):
|
| + if tab.browser.platform.tracing_controller.is_tracing_running:
|
| + tab.browser.platform.tracing_controller.Stop()
|
| +
|
| def _AddV8MetricsToResults(self, process, results):
|
| if process is None:
|
| return
|
|
|