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 1039 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1050 #define WillBePersistentHeapListHashSet blink::PersistentHeapListHashSet | 1050 #define WillBePersistentHeapListHashSet blink::PersistentHeapListHashSet |
1051 #define WillBeHeapVector blink::HeapVector | 1051 #define WillBeHeapVector blink::HeapVector |
1052 #define WillBePersistentHeapVector blink::PersistentHeapVector | 1052 #define WillBePersistentHeapVector blink::PersistentHeapVector |
1053 #define WillBeHeapDeque blink::HeapDeque | 1053 #define WillBeHeapDeque blink::HeapDeque |
1054 #define WillBePersistentHeapDeque blink::PersistentHeapDeque | 1054 #define WillBePersistentHeapDeque blink::PersistentHeapDeque |
1055 #define WillBeHeapHashCountedSet blink::HeapHashCountedSet | 1055 #define WillBeHeapHashCountedSet blink::HeapHashCountedSet |
1056 #define WillBePersistentHeapHashCountedSet blink::PersistentHeapHashCountedSet | 1056 #define WillBePersistentHeapHashCountedSet blink::PersistentHeapHashCountedSet |
1057 #define WillBeGarbageCollectedMixin blink::GarbageCollectedMixin | 1057 #define WillBeGarbageCollectedMixin blink::GarbageCollectedMixin |
1058 #define WillBeHeapSupplement blink::HeapSupplement | 1058 #define WillBeHeapSupplement blink::HeapSupplement |
1059 #define WillBeHeapSupplementable blink::HeapSupplementable | 1059 #define WillBeHeapSupplementable blink::HeapSupplementable |
1060 #define WillBePersistentHeapSupplementable blink::PersistentHeapSupplementable | |
1061 #define WillBeHeapTerminatedArray blink::HeapTerminatedArray | 1060 #define WillBeHeapTerminatedArray blink::HeapTerminatedArray |
1062 #define WillBeHeapTerminatedArrayBuilder blink::HeapTerminatedArrayBuilder | 1061 #define WillBeHeapTerminatedArrayBuilder blink::HeapTerminatedArrayBuilder |
1063 #define WillBeHeapLinkedStack blink::HeapLinkedStack | 1062 #define WillBeHeapLinkedStack blink::HeapLinkedStack |
1064 #define PersistentHeapHashSetWillBeHeapHashSet blink::HeapHashSet | 1063 #define PersistentHeapHashSetWillBeHeapHashSet blink::HeapHashSet |
1065 #define PersistentHeapDequeWillBeHeapDeque blink::HeapDeque | 1064 #define PersistentHeapDequeWillBeHeapDeque blink::HeapDeque |
1066 #define PersistentHeapVectorWillBeHeapVector blink::HeapVector | 1065 #define PersistentHeapVectorWillBeHeapVector blink::HeapVector |
1067 | 1066 |
1068 template<typename T> PassRefPtrWillBeRawPtr<T> adoptRefWillBeNoop(T* ptr) | 1067 template<typename T> PassRefPtrWillBeRawPtr<T> adoptRefWillBeNoop(T* ptr) |
1069 { | 1068 { |
1070 static const bool notRefCountedGarbageCollected = !WTF::IsSubclassOfTemplate
<typename WTF::RemoveConst<T>::Type, RefCountedGarbageCollected>::value; | 1069 static const bool notRefCountedGarbageCollected = !WTF::IsSubclassOfTemplate
<typename WTF::RemoveConst<T>::Type, RefCountedGarbageCollected>::value; |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1168 #define WillBePersistentListHeapHashSet WTF::ListHashSet | 1167 #define WillBePersistentListHeapHashSet WTF::ListHashSet |
1169 #define WillBeHeapVector WTF::Vector | 1168 #define WillBeHeapVector WTF::Vector |
1170 #define WillBePersistentHeapVector WTF::Vector | 1169 #define WillBePersistentHeapVector WTF::Vector |
1171 #define WillBeHeapDeque WTF::Deque | 1170 #define WillBeHeapDeque WTF::Deque |
1172 #define WillBePersistentHeapDeque WTF::Deque | 1171 #define WillBePersistentHeapDeque WTF::Deque |
1173 #define WillBeHeapHashCountedSet WTF::HashCountedSet | 1172 #define WillBeHeapHashCountedSet WTF::HashCountedSet |
1174 #define WillBePersistentHeapHashCountedSet WTF::HashCountedSet | 1173 #define WillBePersistentHeapHashCountedSet WTF::HashCountedSet |
1175 #define WillBeGarbageCollectedMixin blink::DummyBase<void> | 1174 #define WillBeGarbageCollectedMixin blink::DummyBase<void> |
1176 #define WillBeHeapSupplement blink::Supplement | 1175 #define WillBeHeapSupplement blink::Supplement |
1177 #define WillBeHeapSupplementable blink::Supplementable | 1176 #define WillBeHeapSupplementable blink::Supplementable |
1178 #define WillBePersistentHeapSupplementable blink::Supplementable | |
1179 #define WillBeHeapTerminatedArray WTF::TerminatedArray | 1177 #define WillBeHeapTerminatedArray WTF::TerminatedArray |
1180 #define WillBeHeapTerminatedArrayBuilder WTF::TerminatedArrayBuilder | 1178 #define WillBeHeapTerminatedArrayBuilder WTF::TerminatedArrayBuilder |
1181 #define WillBeHeapLinkedStack WTF::LinkedStack | 1179 #define WillBeHeapLinkedStack WTF::LinkedStack |
1182 #define PersistentHeapHashSetWillBeHeapHashSet blink::PersistentHeapHashSet | 1180 #define PersistentHeapHashSetWillBeHeapHashSet blink::PersistentHeapHashSet |
1183 #define PersistentHeapDequeWillBeHeapDeque blink::PersistentHeapDeque | 1181 #define PersistentHeapDequeWillBeHeapDeque blink::PersistentHeapDeque |
1184 #define PersistentHeapVectorWillBeHeapVector blink::PersistentHeapVector | 1182 #define PersistentHeapVectorWillBeHeapVector blink::PersistentHeapVector |
1185 | 1183 |
1186 template<typename T> PassRefPtrWillBeRawPtr<T> adoptRefWillBeNoop(T* ptr) { retu
rn adoptRef(ptr); } | 1184 template<typename T> PassRefPtrWillBeRawPtr<T> adoptRefWillBeNoop(T* ptr) { retu
rn adoptRef(ptr); } |
1187 template<typename T> PassRefPtrWillBeRawPtr<T> adoptRefWillBeRefCountedGarbageCo
llected(T* ptr) { return adoptRef(ptr); } | 1185 template<typename T> PassRefPtrWillBeRawPtr<T> adoptRefWillBeRefCountedGarbageCo
llected(T* ptr) { return adoptRef(ptr); } |
1188 template<typename T> PassRefPtrWillBeRawPtr<T> adoptRefWillBeThreadSafeRefCounte
dGarbageCollected(T* ptr) { return adoptRef(ptr); } | 1186 template<typename T> PassRefPtrWillBeRawPtr<T> adoptRefWillBeThreadSafeRefCounte
dGarbageCollected(T* ptr) { return adoptRef(ptr); } |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1402 struct ParamStorageTraits<T*> : public PointerParamStorageTraits<T*, blink::IsGa
rbageCollectedType<T>::value> { | 1400 struct ParamStorageTraits<T*> : public PointerParamStorageTraits<T*, blink::IsGa
rbageCollectedType<T>::value> { |
1403 }; | 1401 }; |
1404 | 1402 |
1405 template<typename T> | 1403 template<typename T> |
1406 struct ParamStorageTraits<RawPtr<T> > : public PointerParamStorageTraits<T*, bli
nk::IsGarbageCollectedType<T>::value> { | 1404 struct ParamStorageTraits<RawPtr<T> > : public PointerParamStorageTraits<T*, bli
nk::IsGarbageCollectedType<T>::value> { |
1407 }; | 1405 }; |
1408 | 1406 |
1409 } // namespace WTF | 1407 } // namespace WTF |
1410 | 1408 |
1411 #endif | 1409 #endif |
OLD | NEW |