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

Unified Diff: tools/perf/measurements/tab_switching.py

Issue 23512005: BrowserOptions.extra_browser_args is now a set. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: AppendExtraBrowserArgs Created 7 years, 3 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
Index: tools/perf/measurements/tab_switching.py
diff --git a/tools/perf/measurements/tab_switching.py b/tools/perf/measurements/tab_switching.py
index b12a1745a5deb225695fbfdfcc298a6a98c03fb3..19eb1de67b98d76e6e88d4febb8eaf7657baff06 100644
--- a/tools/perf/measurements/tab_switching.py
+++ b/tools/perf/measurements/tab_switching.py
@@ -18,9 +18,11 @@ from telemetry.page import page_runner
class TabSwitching(page_measurement.PageMeasurement):
def CustomizeBrowserOptions(self, options):
- options.AppendExtraBrowserArg('--enable-stats-collection-bindings')
- options.AppendExtraBrowserArg('--dom-automation')
- options.AppendExtraBrowserArg('--reduce-security-for-dom-automation-tests')
+ options.AppendExtraBrowserArgs([
+ '--enable-stats-collection-bindings',
+ '--dom-automation',
+ '--reduce-security-for-dom-automation-tests'
+ ])
def CanRunForPage(self, page):
return not page.page_set.pages.index(page)

Powered by Google App Engine
This is Rietveld 408576698