| Index: base/trace_event/memory_allocator_dump_unittest.cc
|
| diff --git a/base/trace_event/memory_allocator_dump_unittest.cc b/base/trace_event/memory_allocator_dump_unittest.cc
|
| index 359f081154e5a23a091385fede02df7f511b189e..1bf9715917dedeb0181b8f2105cff6f17dd06d66 100644
|
| --- a/base/trace_event/memory_allocator_dump_unittest.cc
|
| +++ b/base/trace_event/memory_allocator_dump_unittest.cc
|
| @@ -129,8 +129,8 @@ TEST(MemoryAllocatorDumpTest, GuidGeneration) {
|
|
|
| TEST(MemoryAllocatorDumpTest, DumpIntoProcessMemoryDump) {
|
| FakeMemoryAllocatorDumpProvider fmadp;
|
| - ProcessMemoryDump pmd(new MemoryDumpSessionState);
|
| MemoryDumpArgs dump_args = {MemoryDumpLevelOfDetail::DETAILED};
|
| + ProcessMemoryDump pmd(new MemoryDumpSessionState, dump_args);
|
|
|
| fmadp.OnMemoryDump(dump_args, &pmd);
|
|
|
| @@ -176,7 +176,8 @@ TEST(MemoryAllocatorDumpTest, DumpIntoProcessMemoryDump) {
|
| #if !defined(NDEBUG) && !defined(OS_ANDROID) && !defined(OS_IOS)
|
| TEST(MemoryAllocatorDumpTest, ForbidDuplicatesDeathTest) {
|
| FakeMemoryAllocatorDumpProvider fmadp;
|
| - ProcessMemoryDump pmd(new MemoryDumpSessionState);
|
| + MemoryDumpArgs dump_args = {MemoryDumpLevelOfDetail::DETAILED};
|
| + ProcessMemoryDump pmd(new MemoryDumpSessionState, dump_args);
|
| pmd.CreateAllocatorDump("foo_allocator");
|
| pmd.CreateAllocatorDump("bar_allocator/heap");
|
| ASSERT_DEATH(pmd.CreateAllocatorDump("foo_allocator"), "");
|
|
|