| Index: components/tracing/child_memory_dump_manager_delegate_impl.cc
|
| diff --git a/components/tracing/child_memory_dump_manager_delegate_impl.cc b/components/tracing/child_memory_dump_manager_delegate_impl.cc
|
| index ced940b2295c506bc1ffe376e96d343627d3e647..05c2662786ba5017e1bee7400b82f98f4fa613db 100644
|
| --- a/components/tracing/child_memory_dump_manager_delegate_impl.cc
|
| +++ b/components/tracing/child_memory_dump_manager_delegate_impl.cc
|
| @@ -5,9 +5,7 @@
|
| #include "components/tracing/child_memory_dump_manager_delegate_impl.h"
|
|
|
| #include "base/single_thread_task_runner.h"
|
| -#include "build/build_config.h"
|
| #include "components/tracing/child_trace_message_filter.h"
|
| -#include "components/tracing/process_metrics_memory_dump_provider.h"
|
|
|
| namespace tracing {
|
|
|
| @@ -51,13 +49,6 @@
|
| if (ctmf) {
|
| base::trace_event::MemoryDumpManager::GetInstance()->Initialize(
|
| this /* delegate */, false /* is_coordinator */);
|
| -
|
| -#if !defined(OS_LINUX) && !defined(OS_NACL)
|
| - // On linux the browser process takes care of dumping process metrics.
|
| - // The child process is not allowed to do so due to BPF sandbox.
|
| - tracing::ProcessMetricsMemoryDumpProvider::RegisterForProcess(
|
| - base::kNullProcessId);
|
| -#endif
|
| }
|
| }
|
|
|
|
|