OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 15 matching lines...) Expand all Loading... |
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #ifndef Handle_h | 31 #ifndef Handle_h |
32 #define Handle_h | 32 #define Handle_h |
33 | 33 |
34 #include "platform/heap/Heap.h" | 34 #include "platform/heap/Heap.h" |
35 #include "platform/heap/HeapAllocator.h" | 35 #include "platform/heap/HeapAllocator.h" |
36 #include "platform/heap/InlinedGlobalMarkingVisitor.h" | |
37 #include "platform/heap/Member.h" | 36 #include "platform/heap/Member.h" |
38 #include "platform/heap/Persistent.h" | 37 #include "platform/heap/Persistent.h" |
39 #include "platform/heap/ThreadState.h" | 38 #include "platform/heap/ThreadState.h" |
40 #include "platform/heap/TraceTraits.h" | 39 #include "platform/heap/TraceTraits.h" |
41 #include "platform/heap/Visitor.h" | 40 #include "platform/heap/Visitor.h" |
| 41 #include "platform/heap/VisitorImpl.h" |
42 #include "wtf/Allocator.h" | 42 #include "wtf/Allocator.h" |
43 | 43 |
44 #if defined(LEAK_SANITIZER) | 44 #if defined(LEAK_SANITIZER) |
45 #include "wtf/LeakAnnotations.h" | 45 #include "wtf/LeakAnnotations.h" |
46 #endif | 46 #endif |
47 | 47 |
48 namespace blink { | 48 namespace blink { |
49 | 49 |
50 // LEAK_SANITIZER_DISABLED_SCOPE: all allocations made in the current scope | 50 // LEAK_SANITIZER_DISABLED_SCOPE: all allocations made in the current scope |
51 // will be exempted from LSan consideration. | 51 // will be exempted from LSan consideration. |
(...skipping 20 matching lines...) Expand all Loading... |
72 }; | 72 }; |
73 #define LEAK_SANITIZER_DISABLED_SCOPE \ | 73 #define LEAK_SANITIZER_DISABLED_SCOPE \ |
74 LeakSanitizerDisableScope lsanDisabledScope | 74 LeakSanitizerDisableScope lsanDisabledScope |
75 #else | 75 #else |
76 #define LEAK_SANITIZER_DISABLED_SCOPE | 76 #define LEAK_SANITIZER_DISABLED_SCOPE |
77 #endif | 77 #endif |
78 | 78 |
79 } // namespace blink | 79 } // namespace blink |
80 | 80 |
81 #endif | 81 #endif |
OLD | NEW |