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

Unified Diff: tools/perf/metrics/io.py

Issue 44883004: [telemetry] Move tab from RunState to PageState. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comment nit. Created 7 years, 2 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/tab_switching.py ('k') | tools/perf/profile_creators/small_profile_creator.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/metrics/io.py
diff --git a/tools/perf/metrics/io.py b/tools/perf/metrics/io.py
index e083fb1ede1bf0af823e2ad566eaf48fbe40fb85..998581c0d617755064bd5d4aac84c3ca814765c3 100644
--- a/tools/perf/metrics/io.py
+++ b/tools/perf/metrics/io.py
@@ -21,9 +21,9 @@ class IOMetric(Metric):
# This metric currently only returns summary results, not per-page results.
raise NotImplementedError()
- def AddSummaryResults(self, tab, results):
+ def AddSummaryResults(self, browser, results):
"""Add summary results to the results object."""
- io_stats = tab.browser.io_stats
+ io_stats = browser.io_stats
if not io_stats['Browser']:
return
« no previous file with comments | « tools/perf/measurements/tab_switching.py ('k') | tools/perf/profile_creators/small_profile_creator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698