Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1105)

Unified Diff: tools/perf/measurements/smoothness_controller.py

Issue 309533016: Remove the weak dictionary that maps tab objects to it markers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/perf/measurements/loading_trace.py ('k') | tools/perf/measurements/thread_times.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « tools/perf/measurements/loading_trace.py ('k') | tools/perf/measurements/thread_times.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698