Index: base/trace_event/memory_allocator_dump.cc |
diff --git a/base/trace_event/memory_allocator_dump.cc b/base/trace_event/memory_allocator_dump.cc |
index 5c5af7ee45842e716b92c5fcf7018641a3bfb023..6f526f93590e37d63d61badaa53b6db17890effd 100644 |
--- a/base/trace_event/memory_allocator_dump.cc |
+++ b/base/trace_event/memory_allocator_dump.cc |
@@ -90,6 +90,8 @@ void MemoryAllocatorDump::AsValueInto(TracedValue* value) const { |
value->BeginDictionaryWithCopiedName(absolute_name_); |
value->SetString("guid", guid_.ToString()); |
value->SetValue("attrs", *attributes_); |
+ if (flags_) |
+ value->SetInteger("flags", static_cast<int>(flags_)); |
value->EndDictionary(); // "allocator_name/heap_subheap": { ... } |
} |