Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "base/trace_event/heap_profiler_scoped_ignore.h" | |
| 6 | |
| 7 namespace base { | |
| 8 namespace trace_event { | |
| 9 | |
| 10 HeapProfilerScopedIgnore::HeapProfilerScopedIgnore() {} | |
| 11 | |
| 12 HeapProfilerScopedIgnore::~HeapProfilerScopedIgnore() { | |
|
Primiano Tucci (use gerrit)
2016/04/21 19:47:32
I'd just add a comment saying:
The corresponding
ssid
2016/04/22 04:57:12
Done.
| |
| 13 if (UNLIKELY(AllocationContextTracker::capture_enabled())) { | |
| 14 AllocationContextTracker::GetInstanceForCurrentThread()->end_ignore_scope(); | |
| 15 } | |
| 16 } | |
| 17 | |
| 18 } // namespace trace_event | |
| 19 } // namespace base | |
| OLD | NEW |