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

Unified Diff: tools/perf/perf_tools/skpicture_printer.py

Issue 11273081: Adding a test for measuring memory usage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updated Created 8 years, 1 month 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/perf_tools/skpicture_printer.py
diff --git a/tools/perf/perf_tools/skpicture_printer.py b/tools/perf/perf_tools/skpicture_printer.py
index ec55df8cf3fb3204fd6f30e56af7e4bc717ff677..741ae8ed535a9d7be1dfb10630fe80badb4d59e3 100755
--- a/tools/perf/perf_tools/skpicture_printer.py
+++ b/tools/perf/perf_tools/skpicture_printer.py
@@ -13,9 +13,9 @@ class SkPicturePrinter(multi_page_benchmark.MultiPageBenchmark):
def AddOptions(self, parser):
parser.add_option('-o', '--outdir', help='Output directory')
- def CustomizeBrowserOptions(self, options):
- options.extra_browser_args.extend(['--enable-gpu-benchmarking',
- '--no-sandbox'])
+ def CustomizeBrowserOptions(self, pages, options):
+ map(options.AppendExtraBrowserArg, ['--enable-gpu-benchmarking',
+ '--no-sandbox'])
def MeasurePage(self, page, tab, results):
# Derive output path from the URL. The pattern just replaces all special

Powered by Google App Engine
This is Rietveld 408576698