Index: tools/perf/perf_tools/memory_benchmark.py |
diff --git a/tools/perf/perf_tools/memory_benchmark.py b/tools/perf/perf_tools/memory_benchmark.py |
index 6c051d666672cba8201ff3e620e7eedb1f7bd218..7180512d04f24a0c217db4a44bc4c334de158a35 100644 |
--- a/tools/perf/perf_tools/memory_benchmark.py |
+++ b/tools/perf/perf_tools/memory_benchmark.py |
@@ -29,7 +29,7 @@ class MemoryBenchmark(page_benchmark.PageBenchmark): |
h.Start(page, tab) |
def CustomizeBrowserOptions(self, options): |
- options.AppendExtraBrowserArg('--dom-automation') |
+ options.AppendExtraBrowserArg('--enable-stats-collection-bindings') |
# For a hard-coded set of Google pages (such as GMail), we produce custom |
# memory histograms (V8.Something_gmail) instead of the generic histograms |
# (V8.Something), if we detect that a renderer is only rendering this page |
@@ -38,7 +38,8 @@ class MemoryBenchmark(page_benchmark.PageBenchmark): |
# pages. |
options.AppendExtraBrowserArg('--disable-histogram-customizer') |
options.AppendExtraBrowserArg('--memory-metrics') |
- options.AppendExtraBrowserArg('--reduce-security-for-dom-automation-tests') |
+ options.AppendExtraBrowserArg( |
+ '--reduce-security-for-stats-collection-tests') |
def CanRunForPage(self, page): |
return hasattr(page, 'stress_memory') |