| Index: base/trace_event/malloc_dump_provider.cc
|
| diff --git a/base/trace_event/malloc_dump_provider.cc b/base/trace_event/malloc_dump_provider.cc
|
| index 3b1a933bce56f8154f7871434f8cf692b02b3267..0da6a9d7f4639a633392913077670f040d3ceb33 100644
|
| --- a/base/trace_event/malloc_dump_provider.cc
|
| +++ b/base/trace_event/malloc_dump_provider.cc
|
| @@ -128,6 +128,10 @@ bool MallocDumpProvider::OnMemoryDump(const MemoryDumpArgs& args,
|
| // fixed quantum, so the excess region will not be resident.
|
| // See crrev.com/1531463004 for detailed explanation.
|
| resident_size = stats.max_size_in_use;
|
| +#elif defined(OS_WIN)
|
| + // TODO(siggi): DO NOT SUBMIT
|
| + // Walk the Windows heap backing the CRT allocation pool as is done in
|
| + // winheap_dump_provider_win.cc or ideally share the code.
|
| #else
|
| struct mallinfo info = mallinfo();
|
| DCHECK_GE(info.arena + info.hblkhd, info.uordblks);
|
|
|