| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef TraceTraits_h | 5 #ifndef TraceTraits_h |
| 6 #define TraceTraits_h | 6 #define TraceTraits_h |
| 7 | 7 |
| 8 #include "platform/heap/GCInfo.h" | 8 #include "platform/heap/GCInfo.h" |
| 9 #include "platform/heap/Heap.h" | 9 #include "platform/heap/Heap.h" |
| 10 #include "platform/heap/InlinedGlobalMarkingVisitor.h" | 10 #include "platform/heap/InlinedGlobalMarkingVisitor.h" |
| 11 #include "platform/heap/Visitor.h" | 11 #include "platform/heap/Visitor.h" |
| 12 #include "wtf/Assertions.h" | 12 #include "wtf/Assertions.h" |
| 13 #include "wtf/Deque.h" | 13 #include "wtf/Deque.h" |
| 14 #include "wtf/HashCountedSet.h" | 14 #include "wtf/HashCountedSet.h" |
| 15 #include "wtf/HashMap.h" | 15 #include "wtf/HashMap.h" |
| 16 #include "wtf/HashSet.h" | 16 #include "wtf/HashSet.h" |
| 17 #include "wtf/HashTable.h" | 17 #include "wtf/HashTable.h" |
| 18 #include "wtf/LinkedHashSet.h" | 18 #include "wtf/LinkedHashSet.h" |
| 19 #include "wtf/ListHashSet.h" | 19 #include "wtf/ListHashSet.h" |
| 20 #include "wtf/TypeTraits.h" | 20 #include "wtf/TypeTraits.h" |
| 21 #include "wtf/Vector.h" | 21 #include "wtf/Vector.h" |
| 22 | 22 |
| 23 namespace blink { | 23 namespace blink { |
| 24 | 24 |
| 25 template<typename T> class CrossThreadPersistent; | 25 template<typename T> class CrossThreadPersistent; |
| 26 template<typename T> class CrossThreadWeakPersistent; | 26 template<typename T> class CrossThreadWeakPersistent; |
| 27 template<typename T> struct GCInfoTrait; | |
| 28 class HeapObjectHeader; | |
| 29 template<typename T> class Member; | 27 template<typename T> class Member; |
| 30 template<typename T> class TraceTrait; | 28 template<typename T> class TraceTrait; |
| 31 template<typename T> class WeakMember; | 29 template<typename T> class WeakMember; |
| 32 template<typename T> class WeakPersistent; | 30 template<typename T> class WeakPersistent; |
| 33 | 31 |
| 34 template<typename T, bool = NeedsAdjustAndMark<T>::value> class AdjustAndMarkTra
it; | 32 template<typename T, bool = NeedsAdjustAndMark<T>::value> class AdjustAndMarkTra
it; |
| 35 | 33 |
| 36 template<typename T> | 34 template<typename T> |
| 37 class AdjustAndMarkTrait<T, false> { | 35 class AdjustAndMarkTrait<T, false> { |
| 38 public: | 36 public: |
| (...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 569 // since iterating over the hash table backing will find the whole | 567 // since iterating over the hash table backing will find the whole |
| 570 // chain. | 568 // chain. |
| 571 visitor->markNoTracing(node); | 569 visitor->markNoTracing(node); |
| 572 return false; | 570 return false; |
| 573 } | 571 } |
| 574 }; | 572 }; |
| 575 | 573 |
| 576 } // namespace WTF | 574 } // namespace WTF |
| 577 | 575 |
| 578 #endif | 576 #endif |
| OLD | NEW |