Index: tools/perf/measurements/smoothness_controller.py |
diff --git a/tools/perf/measurements/smoothness_controller.py b/tools/perf/measurements/smoothness_controller.py |
index 0739a8d177fd12e8ef9e7308c11404cffa0bfa59..978a79555ce300a937a29cc24c3244b86622eed5 100644 |
--- a/tools/perf/measurements/smoothness_controller.py |
+++ b/tools/perf/measurements/smoothness_controller.py |
@@ -51,7 +51,8 @@ class SmoothnessController(object): |
# the time ranges of gestures, if there is at least one, else the the time |
# ranges from the first action to the last action. |
- renderer_thread = self._timeline_model.GetRendererThreadFromTab(tab) |
+ renderer_thread = self._timeline_model.GetRendererThreadFromTabId( |
+ tab.id) |
run_smooth_actions_record = None |
smooth_records = [] |
for event in renderer_thread.async_slices: |