| Index: components/tracing/process_metrics_memory_dump_provider.cc
|
| diff --git a/components/tracing/process_metrics_memory_dump_provider.cc b/components/tracing/process_metrics_memory_dump_provider.cc
|
| index e73ea78711dc4818e86d3926899fd23bf82a3fc1..45d6316b066f4cbf60b5837c175528998788db59 100644
|
| --- a/components/tracing/process_metrics_memory_dump_provider.cc
|
| +++ b/components/tracing/process_metrics_memory_dump_provider.cc
|
| @@ -203,7 +203,8 @@ void ProcessMetricsMemoryDumpProvider::RegisterForProcess(
|
| base::ProcessId process) {
|
| scoped_ptr<ProcessMetricsMemoryDumpProvider> metrics_provider(
|
| new ProcessMetricsMemoryDumpProvider(process));
|
| - base::trace_event::MemoryDumpProvider::Options options(process);
|
| + base::trace_event::MemoryDumpProvider::Options options;
|
| + options.target_pid = process;
|
| base::trace_event::MemoryDumpManager::GetInstance()->RegisterDumpProvider(
|
| metrics_provider.get(), "ProcessMemoryMetrics", nullptr, options);
|
| bool did_insert =
|
|
|