| Index: tools/perf/perf_tools/memory_measurement.py
|
| diff --git a/tools/perf/perf_tools/memory_measurement.py b/tools/perf/perf_tools/memory_measurement.py
|
| index 37e14a21b5290d75695125aa752be47bb4b8bace..3fd89db5b574e838dd2f23a074a644872a1b184a 100644
|
| --- a/tools/perf/perf_tools/memory_measurement.py
|
| +++ b/tools/perf/perf_tools/memory_measurement.py
|
| @@ -29,7 +29,7 @@ class MemoryMeasurement(page_measurement.PageMeasurement):
|
| 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,13 @@ class MemoryMeasurement(page_measurement.PageMeasurement):
|
| # 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')
|
| +
|
| + # Old commandline flags used for reference builds.
|
| + options.AppendExtraBrowserArg('--dom-automation')
|
| + options.AppendExtraBrowserArg(
|
| + '--reduce-security-for-dom-automation-tests')
|
|
|
| def CanRunForPage(self, page):
|
| return hasattr(page, 'stress_memory')
|
|
|