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 765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
776 #define PersistentWillBeMember blink::Member | 776 #define PersistentWillBeMember blink::Member |
777 #define CrossThreadPersistentWillBeMember blink::Member | 777 #define CrossThreadPersistentWillBeMember blink::Member |
778 #define RefPtrWillBePersistent blink::Persistent | 778 #define RefPtrWillBePersistent blink::Persistent |
779 #define RefPtrWillBeRawPtr WTF::RawPtr | 779 #define RefPtrWillBeRawPtr WTF::RawPtr |
780 #define RefPtrWillBeMember blink::Member | 780 #define RefPtrWillBeMember blink::Member |
781 #define RefPtrWillBeWeakMember blink::WeakMember | 781 #define RefPtrWillBeWeakMember blink::WeakMember |
782 #define RefPtrWillBeCrossThreadPersistent blink::CrossThreadPersistent | 782 #define RefPtrWillBeCrossThreadPersistent blink::CrossThreadPersistent |
783 #define RawPtrWillBeMember blink::Member | 783 #define RawPtrWillBeMember blink::Member |
784 #define RawPtrWillBePersistent blink::Persistent | 784 #define RawPtrWillBePersistent blink::Persistent |
785 #define RawPtrWillBeWeakMember blink::WeakMember | 785 #define RawPtrWillBeWeakMember blink::WeakMember |
| 786 #define OwnPtrWillBeCrossThreadPersistent blink::CrossThreadPersistent |
786 #define OwnPtrWillBeMember blink::Member | 787 #define OwnPtrWillBeMember blink::Member |
787 #define OwnPtrWillBePersistent blink::Persistent | 788 #define OwnPtrWillBePersistent blink::Persistent |
788 #define OwnPtrWillBeRawPtr WTF::RawPtr | 789 #define OwnPtrWillBeRawPtr WTF::RawPtr |
789 #define PassOwnPtrWillBeRawPtr WTF::RawPtr | 790 #define PassOwnPtrWillBeRawPtr WTF::RawPtr |
790 #define WeakPtrWillBeMember blink::Member | 791 #define WeakPtrWillBeMember blink::Member |
791 #define WeakPtrWillBeRawPtr WTF::RawPtr | 792 #define WeakPtrWillBeRawPtr WTF::RawPtr |
792 #define WeakPtrWillBeWeakMember blink::WeakMember | 793 #define WeakPtrWillBeWeakMember blink::WeakMember |
793 #define NoBaseWillBeGarbageCollected blink::GarbageCollected | 794 #define NoBaseWillBeGarbageCollected blink::GarbageCollected |
794 #define NoBaseWillBeGarbageCollectedFinalized blink::GarbageCollectedFinalized | 795 #define NoBaseWillBeGarbageCollectedFinalized blink::GarbageCollectedFinalized |
795 #define NoBaseWillBeRefCountedGarbageCollected blink::RefCountedGarbageCollected | 796 #define NoBaseWillBeRefCountedGarbageCollected blink::RefCountedGarbageCollected |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
854 #define PersistentWillBeMember blink::Persistent | 855 #define PersistentWillBeMember blink::Persistent |
855 #define CrossThreadPersistentWillBeMember blink::CrossThreadPersistent | 856 #define CrossThreadPersistentWillBeMember blink::CrossThreadPersistent |
856 #define RefPtrWillBePersistent WTF::RefPtr | 857 #define RefPtrWillBePersistent WTF::RefPtr |
857 #define RefPtrWillBeRawPtr WTF::RefPtr | 858 #define RefPtrWillBeRawPtr WTF::RefPtr |
858 #define RefPtrWillBeMember WTF::RefPtr | 859 #define RefPtrWillBeMember WTF::RefPtr |
859 #define RefPtrWillBeWeakMember WTF::RefPtr | 860 #define RefPtrWillBeWeakMember WTF::RefPtr |
860 #define RefPtrWillBeCrossThreadPersistent WTF::RefPtr | 861 #define RefPtrWillBeCrossThreadPersistent WTF::RefPtr |
861 #define RawPtrWillBeMember WTF::RawPtr | 862 #define RawPtrWillBeMember WTF::RawPtr |
862 #define RawPtrWillBePersistent WTF::RawPtr | 863 #define RawPtrWillBePersistent WTF::RawPtr |
863 #define RawPtrWillBeWeakMember WTF::RawPtr | 864 #define RawPtrWillBeWeakMember WTF::RawPtr |
| 865 #define OwnPtrWillBeCrossThreadPersistent WTF::OwnPtr |
864 #define OwnPtrWillBeMember WTF::OwnPtr | 866 #define OwnPtrWillBeMember WTF::OwnPtr |
865 #define OwnPtrWillBePersistent WTF::OwnPtr | 867 #define OwnPtrWillBePersistent WTF::OwnPtr |
866 #define OwnPtrWillBeRawPtr WTF::OwnPtr | 868 #define OwnPtrWillBeRawPtr WTF::OwnPtr |
867 #define PassOwnPtrWillBeRawPtr WTF::PassOwnPtr | 869 #define PassOwnPtrWillBeRawPtr WTF::PassOwnPtr |
868 #define WeakPtrWillBeMember WTF::WeakPtr | 870 #define WeakPtrWillBeMember WTF::WeakPtr |
869 #define WeakPtrWillBeRawPtr WTF::WeakPtr | 871 #define WeakPtrWillBeRawPtr WTF::WeakPtr |
870 #define WeakPtrWillBeWeakMember WTF::WeakPtr | 872 #define WeakPtrWillBeWeakMember WTF::WeakPtr |
871 #define NoBaseWillBeGarbageCollected blink::DummyBase | 873 #define NoBaseWillBeGarbageCollected blink::DummyBase |
872 #define NoBaseWillBeGarbageCollectedFinalized blink::DummyBase | 874 #define NoBaseWillBeGarbageCollectedFinalized blink::DummyBase |
873 #define NoBaseWillBeRefCountedGarbageCollected blink::DummyBase | 875 #define NoBaseWillBeRefCountedGarbageCollected blink::DummyBase |
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1186 template<typename T> | 1188 template<typename T> |
1187 struct ParamStorageTraits<RawPtr<T>> : public PointerParamStorageTraits<T*, blin
k::IsGarbageCollectedType<T>::value> { | 1189 struct ParamStorageTraits<RawPtr<T>> : public PointerParamStorageTraits<T*, blin
k::IsGarbageCollectedType<T>::value> { |
1188 }; | 1190 }; |
1189 | 1191 |
1190 template<typename T> | 1192 template<typename T> |
1191 PassRefPtr<T> adoptRef(blink::RefCountedGarbageCollected<T>*) = delete; | 1193 PassRefPtr<T> adoptRef(blink::RefCountedGarbageCollected<T>*) = delete; |
1192 | 1194 |
1193 } // namespace WTF | 1195 } // namespace WTF |
1194 | 1196 |
1195 #endif | 1197 #endif |
OLD | NEW |