Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Side by Side Diff: Source/platform/heap/Handle.h

Issue 517043003: Move Frame to the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Back out non-Oilpan experiment + tidy up by adding frame() ref accessors Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after
1042 #define WillBePersistentHeapListHashSet blink::PersistentHeapListHashSet 1042 #define WillBePersistentHeapListHashSet blink::PersistentHeapListHashSet
1043 #define WillBeHeapVector blink::HeapVector 1043 #define WillBeHeapVector blink::HeapVector
1044 #define WillBePersistentHeapVector blink::PersistentHeapVector 1044 #define WillBePersistentHeapVector blink::PersistentHeapVector
1045 #define WillBeHeapDeque blink::HeapDeque 1045 #define WillBeHeapDeque blink::HeapDeque
1046 #define WillBePersistentHeapDeque blink::PersistentHeapDeque 1046 #define WillBePersistentHeapDeque blink::PersistentHeapDeque
1047 #define WillBeHeapHashCountedSet blink::HeapHashCountedSet 1047 #define WillBeHeapHashCountedSet blink::HeapHashCountedSet
1048 #define WillBePersistentHeapHashCountedSet blink::PersistentHeapHashCountedSet 1048 #define WillBePersistentHeapHashCountedSet blink::PersistentHeapHashCountedSet
1049 #define WillBeGarbageCollectedMixin blink::GarbageCollectedMixin 1049 #define WillBeGarbageCollectedMixin blink::GarbageCollectedMixin
1050 #define WillBeHeapSupplement blink::HeapSupplement 1050 #define WillBeHeapSupplement blink::HeapSupplement
1051 #define WillBeHeapSupplementable blink::HeapSupplementable 1051 #define WillBeHeapSupplementable blink::HeapSupplementable
1052 #define WillBePersistentHeapSupplementable blink::PersistentHeapSupplementable
1053 #define WillBeHeapTerminatedArray blink::HeapTerminatedArray 1052 #define WillBeHeapTerminatedArray blink::HeapTerminatedArray
1054 #define WillBeHeapTerminatedArrayBuilder blink::HeapTerminatedArrayBuilder 1053 #define WillBeHeapTerminatedArrayBuilder blink::HeapTerminatedArrayBuilder
1055 #define WillBeHeapLinkedStack blink::HeapLinkedStack 1054 #define WillBeHeapLinkedStack blink::HeapLinkedStack
1056 #define PersistentHeapHashSetWillBeHeapHashSet blink::HeapHashSet 1055 #define PersistentHeapHashSetWillBeHeapHashSet blink::HeapHashSet
1057 #define PersistentHeapDequeWillBeHeapDeque blink::HeapDeque 1056 #define PersistentHeapDequeWillBeHeapDeque blink::HeapDeque
1058 #define PersistentHeapVectorWillBeHeapVector blink::HeapVector 1057 #define PersistentHeapVectorWillBeHeapVector blink::HeapVector
1059 1058
1060 template<typename T> PassRefPtrWillBeRawPtr<T> adoptRefWillBeNoop(T* ptr) 1059 template<typename T> PassRefPtrWillBeRawPtr<T> adoptRefWillBeNoop(T* ptr)
1061 { 1060 {
1062 static const bool notRefCountedGarbageCollected = !WTF::IsSubclassOfTemplate <typename WTF::RemoveConst<T>::Type, RefCountedGarbageCollected>::value; 1061 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
1160 #define WillBePersistentListHeapHashSet WTF::ListHashSet 1159 #define WillBePersistentListHeapHashSet WTF::ListHashSet
1161 #define WillBeHeapVector WTF::Vector 1160 #define WillBeHeapVector WTF::Vector
1162 #define WillBePersistentHeapVector WTF::Vector 1161 #define WillBePersistentHeapVector WTF::Vector
1163 #define WillBeHeapDeque WTF::Deque 1162 #define WillBeHeapDeque WTF::Deque
1164 #define WillBePersistentHeapDeque WTF::Deque 1163 #define WillBePersistentHeapDeque WTF::Deque
1165 #define WillBeHeapHashCountedSet WTF::HashCountedSet 1164 #define WillBeHeapHashCountedSet WTF::HashCountedSet
1166 #define WillBePersistentHeapHashCountedSet WTF::HashCountedSet 1165 #define WillBePersistentHeapHashCountedSet WTF::HashCountedSet
1167 #define WillBeGarbageCollectedMixin blink::DummyBase<void> 1166 #define WillBeGarbageCollectedMixin blink::DummyBase<void>
1168 #define WillBeHeapSupplement blink::Supplement 1167 #define WillBeHeapSupplement blink::Supplement
1169 #define WillBeHeapSupplementable blink::Supplementable 1168 #define WillBeHeapSupplementable blink::Supplementable
1170 #define WillBePersistentHeapSupplementable blink::Supplementable
1171 #define WillBeHeapTerminatedArray WTF::TerminatedArray 1169 #define WillBeHeapTerminatedArray WTF::TerminatedArray
1172 #define WillBeHeapTerminatedArrayBuilder WTF::TerminatedArrayBuilder 1170 #define WillBeHeapTerminatedArrayBuilder WTF::TerminatedArrayBuilder
1173 #define WillBeHeapLinkedStack WTF::LinkedStack 1171 #define WillBeHeapLinkedStack WTF::LinkedStack
1174 #define PersistentHeapHashSetWillBeHeapHashSet blink::PersistentHeapHashSet 1172 #define PersistentHeapHashSetWillBeHeapHashSet blink::PersistentHeapHashSet
1175 #define PersistentHeapDequeWillBeHeapDeque blink::PersistentHeapDeque 1173 #define PersistentHeapDequeWillBeHeapDeque blink::PersistentHeapDeque
1176 #define PersistentHeapVectorWillBeHeapVector blink::PersistentHeapVector 1174 #define PersistentHeapVectorWillBeHeapVector blink::PersistentHeapVector
1177 1175
1178 template<typename T> PassRefPtrWillBeRawPtr<T> adoptRefWillBeNoop(T* ptr) { retu rn adoptRef(ptr); } 1176 template<typename T> PassRefPtrWillBeRawPtr<T> adoptRefWillBeNoop(T* ptr) { retu rn adoptRef(ptr); }
1179 template<typename T> PassRefPtrWillBeRawPtr<T> adoptRefWillBeRefCountedGarbageCo llected(T* ptr) { return adoptRef(ptr); } 1177 template<typename T> PassRefPtrWillBeRawPtr<T> adoptRefWillBeRefCountedGarbageCo llected(T* ptr) { return adoptRef(ptr); }
1180 template<typename T> PassRefPtrWillBeRawPtr<T> adoptRefWillBeThreadSafeRefCounte dGarbageCollected(T* ptr) { return adoptRef(ptr); } 1178 template<typename T> PassRefPtrWillBeRawPtr<T> adoptRefWillBeThreadSafeRefCounte dGarbageCollected(T* ptr) { return adoptRef(ptr); }
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
1394 struct ParamStorageTraits<T*> : public PointerParamStorageTraits<T*, blink::IsGa rbageCollectedType<T>::value> { 1392 struct ParamStorageTraits<T*> : public PointerParamStorageTraits<T*, blink::IsGa rbageCollectedType<T>::value> {
1395 }; 1393 };
1396 1394
1397 template<typename T> 1395 template<typename T>
1398 struct ParamStorageTraits<RawPtr<T> > : public PointerParamStorageTraits<T*, bli nk::IsGarbageCollectedType<T>::value> { 1396 struct ParamStorageTraits<RawPtr<T> > : public PointerParamStorageTraits<T*, bli nk::IsGarbageCollectedType<T>::value> {
1399 }; 1397 };
1400 1398
1401 } // namespace WTF 1399 } // namespace WTF
1402 1400
1403 #endif 1401 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698