| Index: base/trace_event/process_memory_dump.cc
|
| diff --git a/base/trace_event/process_memory_dump.cc b/base/trace_event/process_memory_dump.cc
|
| index d8a51ef4fe1e193415b3933a6c1e947b62303998..4b40780bb042dc98105b64095eed7ccb3c6b8266 100644
|
| --- a/base/trace_event/process_memory_dump.cc
|
| +++ b/base/trace_event/process_memory_dump.cc
|
| @@ -8,6 +8,7 @@
|
|
|
| #include <vector>
|
|
|
| +#include "base/compiler_specific.h"
|
| #include "base/memory/ptr_util.h"
|
| #include "base/process/process_metrics.h"
|
| #include "base/strings/stringprintf.h"
|
| @@ -116,6 +117,10 @@ size_t ProcessMemoryDump::CountResidentBytes(void* start_address,
|
|
|
| for (size_t i = 0; i < page_count; i++)
|
| resident_page_count += vec[i].VirtualAttributes.Valid;
|
| +#elif defined(OS_FUCHSIA)
|
| + // TODO(scottmg): Port.
|
| + ALLOW_UNUSED_LOCAL(chunk_start);
|
| + ALLOW_UNUSED_LOCAL(page_count);
|
| #elif defined(OS_POSIX)
|
| int error_counter = 0;
|
| int result = 0;
|
|
|