| 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 859 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 870 | 870 |
| 871 #else // !ENABLE(OILPAN) | 871 #else // !ENABLE(OILPAN) |
| 872 | 872 |
| 873 template<typename T> | 873 template<typename T> |
| 874 class DummyBase { | 874 class DummyBase { |
| 875 public: | 875 public: |
| 876 DummyBase() { } | 876 DummyBase() { } |
| 877 ~DummyBase() { } | 877 ~DummyBase() { } |
| 878 }; | 878 }; |
| 879 | 879 |
| 880 // Export this instance to support WillBeGarbageCollectedMixin |
| 881 // uses by code residing in non-webcore components. |
| 882 template class PLATFORM_EXPORT DummyBase<void>; |
| 883 |
| 880 #define PassRefPtrWillBeRawPtr WTF::PassRefPtr | 884 #define PassRefPtrWillBeRawPtr WTF::PassRefPtr |
| 881 #define RefCountedWillBeGarbageCollected WTF::RefCounted | 885 #define RefCountedWillBeGarbageCollected WTF::RefCounted |
| 882 #define RefCountedWillBeGarbageCollectedFinalized WTF::RefCounted | 886 #define RefCountedWillBeGarbageCollectedFinalized WTF::RefCounted |
| 883 #define RefCountedWillBeRefCountedGarbageCollected WTF::RefCounted | 887 #define RefCountedWillBeRefCountedGarbageCollected WTF::RefCounted |
| 884 #define ThreadSafeRefCountedWillBeGarbageCollected WTF::ThreadSafeRefCounted | 888 #define ThreadSafeRefCountedWillBeGarbageCollected WTF::ThreadSafeRefCounted |
| 885 #define ThreadSafeRefCountedWillBeGarbageCollectedFinalized WTF::ThreadSafeRefCo
unted | 889 #define ThreadSafeRefCountedWillBeGarbageCollectedFinalized WTF::ThreadSafeRefCo
unted |
| 886 #define ThreadSafeRefCountedWillBeThreadSafeRefCountedGarbageCollected WTF::Thre
adSafeRefCounted | 890 #define ThreadSafeRefCountedWillBeThreadSafeRefCountedGarbageCollected WTF::Thre
adSafeRefCounted |
| 887 #define TreeSharedWillBeRefCountedGarbageCollected WebCore::TreeShared | 891 #define TreeSharedWillBeRefCountedGarbageCollected WebCore::TreeShared |
| 888 #define PersistentWillBeMember WebCore::Persistent | 892 #define PersistentWillBeMember WebCore::Persistent |
| 889 #define RefPtrWillBePersistent WTF::RefPtr | 893 #define RefPtrWillBePersistent WTF::RefPtr |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1147 struct NeedsTracing<ListHashSetNode<T, WebCore::HeapListHashSetAllocator<T, inli
neCapacity> > *> { | 1151 struct NeedsTracing<ListHashSetNode<T, WebCore::HeapListHashSetAllocator<T, inli
neCapacity> > *> { |
| 1148 // All heap allocated node pointers need visiting to keep the nodes alive, | 1152 // All heap allocated node pointers need visiting to keep the nodes alive, |
| 1149 // regardless of whether they contain pointers to other heap allocated | 1153 // regardless of whether they contain pointers to other heap allocated |
| 1150 // objects. | 1154 // objects. |
| 1151 static const bool value = true; | 1155 static const bool value = true; |
| 1152 }; | 1156 }; |
| 1153 | 1157 |
| 1154 } // namespace WTF | 1158 } // namespace WTF |
| 1155 | 1159 |
| 1156 #endif | 1160 #endif |
| OLD | NEW |