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

Unified Diff: tools/perf/measurements/tab_switching.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/page_cycler.py ('k') | tools/perf/metrics/io.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/measurements/tab_switching.py
diff --git a/tools/perf/measurements/tab_switching.py b/tools/perf/measurements/tab_switching.py
index dff80410601dca803d73a33c1f0af86d824ba4ec..00511e2169b2844baafed9d34c92dc589e66ad1b 100644
--- a/tools/perf/measurements/tab_switching.py
+++ b/tools/perf/measurements/tab_switching.py
@@ -28,8 +28,8 @@ class TabSwitching(page_measurement.PageMeasurement):
'--enable-stats-collection-bindings'
])
- def TabForPage(self, page, tab):
- return tab.browser.tabs.New()
+ def TabForPage(self, page, browser):
+ return browser.tabs.New()
def DidStartBrowser(self, browser):
self._cpu_metric = cpu.CpuMetric(browser)
« no previous file with comments | « tools/perf/measurements/page_cycler.py ('k') | tools/perf/metrics/io.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698