OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 17 matching lines...) Expand all Loading... |
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 Visitor_h | 31 #ifndef Visitor_h |
32 #define Visitor_h | 32 #define Visitor_h |
33 | 33 |
34 #include "platform/PlatformExport.h" | 34 #include "platform/PlatformExport.h" |
35 #include "platform/heap/GarbageCollected.h" | 35 #include "platform/heap/GarbageCollected.h" |
36 #include "wtf/Allocator.h" | 36 #include "wtf/Allocator.h" |
37 #include "wtf/Assertions.h" | 37 #include "wtf/Assertions.h" |
38 #include "wtf/Deque.h" | |
39 #include "wtf/Forward.h" | 38 #include "wtf/Forward.h" |
40 #include "wtf/HashTraits.h" | 39 #include "wtf/HashTraits.h" |
41 #include "wtf/TypeTraits.h" | 40 #include "wtf/TypeTraits.h" |
42 | 41 |
43 namespace blink { | 42 namespace blink { |
44 | 43 |
45 template<typename T> class GarbageCollected; | 44 template<typename T> class GarbageCollected; |
46 class HeapObjectHeader; | 45 class HeapObjectHeader; |
47 class InlinedGlobalMarkingVisitor; | 46 class InlinedGlobalMarkingVisitor; |
48 template<typename T> class TraceTrait; | 47 template<typename T> class TraceTrait; |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 private: | 327 private: |
329 static Visitor* fromHelper(VisitorHelper<Visitor>* helper) { return static_c
ast<Visitor*>(helper); } | 328 static Visitor* fromHelper(VisitorHelper<Visitor>* helper) { return static_c
ast<Visitor*>(helper); } |
330 | 329 |
331 ThreadState* m_state; | 330 ThreadState* m_state; |
332 const MarkingMode m_markingMode; | 331 const MarkingMode m_markingMode; |
333 }; | 332 }; |
334 | 333 |
335 } // namespace blink | 334 } // namespace blink |
336 | 335 |
337 #endif // Visitor_h | 336 #endif // Visitor_h |
OLD | NEW |