| 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 21 matching lines...) Expand all Loading... |
| 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/Member.h" | 36 #include "platform/heap/Member.h" |
| 37 #include "platform/heap/Persistent.h" | 37 #include "platform/heap/Persistent.h" |
| 38 #include "platform/heap/ThreadState.h" | 38 #include "platform/heap/ThreadState.h" |
| 39 #include "platform/heap/TraceTraits.h" | 39 #include "platform/heap/TraceTraits.h" |
| 40 #include "platform/heap/Visitor.h" | 40 #include "platform/heap/Visitor.h" |
| 41 #include "platform/heap/VisitorImpl.h" | 41 #include "platform/heap/VisitorImpl.h" |
| 42 #include "wtf/Allocator.h" | 42 #include "platform/wtf/Allocator.h" |
| 43 | 43 |
| 44 #if defined(LEAK_SANITIZER) | 44 #if defined(LEAK_SANITIZER) |
| 45 #include "wtf/LeakAnnotations.h" | 45 #include "platform/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. |
| 52 // | 52 // |
| 53 // TODO(sof): move this to wtf/LeakAnnotations.h (LeakSanitizer.h?) once | 53 // TODO(sof): move this to wtf/LeakAnnotations.h (LeakSanitizer.h?) once |
| 54 // wtf/ can freely call upon Oilpan functionality. | 54 // wtf/ can freely call upon Oilpan functionality. |
| 55 #if defined(LEAK_SANITIZER) | 55 #if defined(LEAK_SANITIZER) |
| (...skipping 16 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 |