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