| Index: tools/perf/measurements/tab_switching.py
|
| diff --git a/tools/perf/measurements/tab_switching.py b/tools/perf/measurements/tab_switching.py
|
| index 9ec184ab539687240fc0bd162499c9e4b42ac007..54b7ec9cbf30c3524bc551e17c01aaab556c9704 100644
|
| --- a/tools/perf/measurements/tab_switching.py
|
| +++ b/tools/perf/measurements/tab_switching.py
|
| @@ -38,9 +38,9 @@ class TabSwitching(page_test.PageTest):
|
| options.disable_background_networking = False
|
| power.PowerMetric.CustomizeBrowserOptions(options)
|
|
|
| - def WillStartBrowser(self, browser):
|
| + def WillStartBrowser(self, platform):
|
| self._first_page_in_pageset = True
|
| - self._power_metric = power.PowerMetric(browser, TabSwitching.SAMPLE_TIME)
|
| + self._power_metric = power.PowerMetric(platform, TabSwitching.SAMPLE_TIME)
|
|
|
| def TabForPage(self, page, browser):
|
| if self._first_page_in_pageset:
|
|
|