| Index: content/common/child_process_host_impl.cc
|
| diff --git a/content/common/child_process_host_impl.cc b/content/common/child_process_host_impl.cc
|
| index 082906f5b6f48f77e40e524c4236c98af6cc10e8..7e8e4203ad32da4ae8803f5547de588aba6da242 100644
|
| --- a/content/common/child_process_host_impl.cc
|
| +++ b/content/common/child_process_host_impl.cc
|
| @@ -32,6 +32,7 @@
|
| #include "ipc/ipc_logging.h"
|
| #include "ipc/message_filter.h"
|
| #include "mojo/edk/embedder/embedder.h"
|
| +#include "services/resource_coordinator/public/interfaces/memory/constants.mojom.h"
|
| #include "services/service_manager/public/cpp/interface_provider.h"
|
|
|
| #if defined(OS_LINUX)
|
| @@ -51,9 +52,6 @@ namespace content {
|
|
|
| int ChildProcessHost::kInvalidUniqueID = -1;
|
|
|
| -uint64_t ChildProcessHost::kBrowserTracingProcessId =
|
| - std::numeric_limits<uint64_t>::max();
|
| -
|
| // static
|
| ChildProcessHost* ChildProcessHost::Create(ChildProcessHostDelegate* delegate) {
|
| return new ChildProcessHostImpl(delegate);
|
| @@ -205,7 +203,7 @@ uint64_t ChildProcessHostImpl::ChildProcessUniqueIdToTracingProcessId(
|
| // tracing process ids.
|
| if (base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kSingleProcess))
|
| - return ChildProcessHost::kBrowserTracingProcessId;
|
| + return memory_instrumentation::mojom::kServiceTracingProcessId;
|
|
|
| // The hash value is incremented so that the tracing id is never equal to
|
| // MemoryDumpManager::kInvalidTracingProcessId.
|
|
|