| 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)
|
|
|