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 838 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
849 #define WillBePersistentHeapListHashSet blink::PersistentHeapListHashSet | 849 #define WillBePersistentHeapListHashSet blink::PersistentHeapListHashSet |
850 #define WillBeHeapVector blink::HeapVector | 850 #define WillBeHeapVector blink::HeapVector |
851 #define WillBePersistentHeapVector blink::PersistentHeapVector | 851 #define WillBePersistentHeapVector blink::PersistentHeapVector |
852 #define WillBeHeapDeque blink::HeapDeque | 852 #define WillBeHeapDeque blink::HeapDeque |
853 #define WillBePersistentHeapDeque blink::PersistentHeapDeque | 853 #define WillBePersistentHeapDeque blink::PersistentHeapDeque |
854 #define WillBeHeapHashCountedSet blink::HeapHashCountedSet | 854 #define WillBeHeapHashCountedSet blink::HeapHashCountedSet |
855 #define WillBePersistentHeapHashCountedSet blink::PersistentHeapHashCountedSet | 855 #define WillBePersistentHeapHashCountedSet blink::PersistentHeapHashCountedSet |
856 #define WillBeGarbageCollectedMixin blink::GarbageCollectedMixin | 856 #define WillBeGarbageCollectedMixin blink::GarbageCollectedMixin |
857 #define WillBeHeapSupplement blink::HeapSupplement | 857 #define WillBeHeapSupplement blink::HeapSupplement |
858 #define WillBeHeapSupplementable blink::HeapSupplementable | 858 #define WillBeHeapSupplementable blink::HeapSupplementable |
859 #define WillBePersistentHeapSupplementable blink::PersistentHeapSupplementable | |
860 #define WillBeHeapTerminatedArray blink::HeapTerminatedArray | 859 #define WillBeHeapTerminatedArray blink::HeapTerminatedArray |
861 #define WillBeHeapTerminatedArrayBuilder blink::HeapTerminatedArrayBuilder | 860 #define WillBeHeapTerminatedArrayBuilder blink::HeapTerminatedArrayBuilder |
862 #define WillBeHeapLinkedStack blink::HeapLinkedStack | 861 #define WillBeHeapLinkedStack blink::HeapLinkedStack |
863 #define PersistentHeapHashSetWillBeHeapHashSet blink::HeapHashSet | 862 #define PersistentHeapHashSetWillBeHeapHashSet blink::HeapHashSet |
864 #define PersistentHeapDequeWillBeHeapDeque blink::HeapDeque | 863 #define PersistentHeapDequeWillBeHeapDeque blink::HeapDeque |
865 #define PersistentHeapVectorWillBeHeapVector blink::HeapVector | 864 #define PersistentHeapVectorWillBeHeapVector blink::HeapVector |
866 | 865 |
867 template<typename T> PassRefPtrWillBeRawPtr<T> adoptRefWillBeNoop(T* ptr) | 866 template<typename T> PassRefPtrWillBeRawPtr<T> adoptRefWillBeNoop(T* ptr) |
868 { | 867 { |
869 static const bool notRefCountedGarbageCollected = !WTF::IsSubclassOfTemplate
<typename WTF::RemoveConst<T>::Type, RefCountedGarbageCollected>::value; | 868 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... |
967 #define WillBePersistentListHeapHashSet WTF::ListHashSet | 966 #define WillBePersistentListHeapHashSet WTF::ListHashSet |
968 #define WillBeHeapVector WTF::Vector | 967 #define WillBeHeapVector WTF::Vector |
969 #define WillBePersistentHeapVector WTF::Vector | 968 #define WillBePersistentHeapVector WTF::Vector |
970 #define WillBeHeapDeque WTF::Deque | 969 #define WillBeHeapDeque WTF::Deque |
971 #define WillBePersistentHeapDeque WTF::Deque | 970 #define WillBePersistentHeapDeque WTF::Deque |
972 #define WillBeHeapHashCountedSet WTF::HashCountedSet | 971 #define WillBeHeapHashCountedSet WTF::HashCountedSet |
973 #define WillBePersistentHeapHashCountedSet WTF::HashCountedSet | 972 #define WillBePersistentHeapHashCountedSet WTF::HashCountedSet |
974 #define WillBeGarbageCollectedMixin blink::DummyBase<void> | 973 #define WillBeGarbageCollectedMixin blink::DummyBase<void> |
975 #define WillBeHeapSupplement blink::Supplement | 974 #define WillBeHeapSupplement blink::Supplement |
976 #define WillBeHeapSupplementable blink::Supplementable | 975 #define WillBeHeapSupplementable blink::Supplementable |
977 #define WillBePersistentHeapSupplementable blink::Supplementable | |
978 #define WillBeHeapTerminatedArray WTF::TerminatedArray | 976 #define WillBeHeapTerminatedArray WTF::TerminatedArray |
979 #define WillBeHeapTerminatedArrayBuilder WTF::TerminatedArrayBuilder | 977 #define WillBeHeapTerminatedArrayBuilder WTF::TerminatedArrayBuilder |
980 #define WillBeHeapLinkedStack WTF::LinkedStack | 978 #define WillBeHeapLinkedStack WTF::LinkedStack |
981 #define PersistentHeapHashSetWillBeHeapHashSet blink::PersistentHeapHashSet | 979 #define PersistentHeapHashSetWillBeHeapHashSet blink::PersistentHeapHashSet |
982 #define PersistentHeapDequeWillBeHeapDeque blink::PersistentHeapDeque | 980 #define PersistentHeapDequeWillBeHeapDeque blink::PersistentHeapDeque |
983 #define PersistentHeapVectorWillBeHeapVector blink::PersistentHeapVector | 981 #define PersistentHeapVectorWillBeHeapVector blink::PersistentHeapVector |
984 | 982 |
985 template<typename T> PassRefPtrWillBeRawPtr<T> adoptRefWillBeNoop(T* ptr) { retu
rn adoptRef(ptr); } | 983 template<typename T> PassRefPtrWillBeRawPtr<T> adoptRefWillBeNoop(T* ptr) { retu
rn adoptRef(ptr); } |
986 template<typename T> PassRefPtrWillBeRawPtr<T> adoptRefWillBeRefCountedGarbageCo
llected(T* ptr) { return adoptRef(ptr); } | 984 template<typename T> PassRefPtrWillBeRawPtr<T> adoptRefWillBeRefCountedGarbageCo
llected(T* ptr) { return adoptRef(ptr); } |
987 template<typename T> PassRefPtrWillBeRawPtr<T> adoptRefWillBeThreadSafeRefCounte
dGarbageCollected(T* ptr) { return adoptRef(ptr); } | 985 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... |
1201 struct ParamStorageTraits<T*> : public PointerParamStorageTraits<T*, blink::IsGa
rbageCollectedType<T>::value> { | 1199 struct ParamStorageTraits<T*> : public PointerParamStorageTraits<T*, blink::IsGa
rbageCollectedType<T>::value> { |
1202 }; | 1200 }; |
1203 | 1201 |
1204 template<typename T> | 1202 template<typename T> |
1205 struct ParamStorageTraits<RawPtr<T> > : public PointerParamStorageTraits<T*, bli
nk::IsGarbageCollectedType<T>::value> { | 1203 struct ParamStorageTraits<RawPtr<T> > : public PointerParamStorageTraits<T*, bli
nk::IsGarbageCollectedType<T>::value> { |
1206 }; | 1204 }; |
1207 | 1205 |
1208 } // namespace WTF | 1206 } // namespace WTF |
1209 | 1207 |
1210 #endif | 1208 #endif |
OLD | NEW |