Chromium Code Reviews| Index: src/heap-profiler.h |
| diff --git a/src/heap-profiler.h b/src/heap-profiler.h |
| index 74002278d40beb1a23a06523da4d5c6066911c9f..de1c81e8a983ee056c397ec9aa5fa06757477dae 100644 |
| --- a/src/heap-profiler.h |
| +++ b/src/heap-profiler.h |
| @@ -84,7 +84,8 @@ class HeapProfiler { |
| void SetRetainedObjectInfo(UniqueId id, RetainedObjectInfo* info); |
| bool is_tracking_allocations() { |
| - return is_tracking_allocations_; |
| + return is_tracking_allocations_ || |
| + FLAG_heap_profiler_always_track_allocations; |
|
yurys
2013/10/28 08:17:25
Should we also call HeapProfiler::StartHeapObjects
|
| } |
| void StartHeapAllocationsRecording(); |