Index: tools/perf/metrics/timeline.py |
diff --git a/tools/perf/metrics/timeline.py b/tools/perf/metrics/timeline.py |
index 9d95455341de578673dd921996d265ee16569694..442dc88227d0e9b90393b53c5beab91d62f23495 100644 |
--- a/tools/perf/metrics/timeline.py |
+++ b/tools/perf/metrics/timeline.py |
@@ -61,6 +61,10 @@ class TimelineMetric(Metric): |
for combo in itertools.combinations(self._action_ranges, 2): |
assert not combo[0].Intersects(combo[1]) |
+ def CleanUp(self, tab): |
+ if tab.browser.is_tracing_running: |
+ tab.browser.StopTracing() |
+ |
def AddActionToIncludeInMetric(self, action): |
self._actions.append(action) |