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

Unified Diff: tools/perf/measurements/loading_trace.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 | « no previous file | tools/perf/measurements/smoothness_controller.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/measurements/loading_trace.py
diff --git a/tools/perf/measurements/loading_trace.py b/tools/perf/measurements/loading_trace.py
index 7ada1dbea8c89c0f08cf22ba593ba35253ceec33..ed48bc06f3bd906f3c9b696d5cc51ccb77508b8e 100644
--- a/tools/perf/measurements/loading_trace.py
+++ b/tools/perf/measurements/loading_trace.py
@@ -31,7 +31,7 @@ class LoadingTrace(page_measurement.PageMeasurement):
loading.LoadingMetric().AddResults(tab, results)
timeline_metric = timeline.LoadTimesTimelineMetric()
renderer_thread = \
- self._timeline_controller.model.GetRendererThreadFromTab(tab)
+ self._timeline_controller.model.GetRendererThreadFromTabId(tab.id)
record = tir_module.TimelineInteractionRecord(
"loading_trace_interaction", 0, float('inf'))
timeline_metric.AddResults(
« no previous file with comments | « no previous file | tools/perf/measurements/smoothness_controller.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698