Index: Source/wtf/Vector.h |
diff --git a/Source/wtf/Vector.h b/Source/wtf/Vector.h |
index a50e6f8e263408a4c00ad3d1e78dea702160bae2..99990367135d09854a297d3083d6f235cb4ca697 100644 |
--- a/Source/wtf/Vector.h |
+++ b/Source/wtf/Vector.h |
@@ -607,6 +607,11 @@ static const size_t kInitialVectorSize = WTF_VECTOR_INITIAL_SIZE; |
Base::destruct(); |
} |
+ void finalizeGarbageCollectedObject() |
+ { |
+ finalize(); |
zerny-chromium
2014/03/21 07:21:01
Is there a particular reason finalize is not renam
Mads Ager (google)
2014/03/21 07:26:39
Yeah, finalize is also called in the non-oilpan bu
|
+ } |
+ |
void clearUnusedSlots(T* from, T* to) |
{ |
VectorUnusedSlotClearer<Allocator::isGarbageCollected && (VectorTraits<T>::needsDestruction || ShouldBeTraced<VectorTraits<T> >::value || VectorTraits<T>::isWeak), T>::clear(from, to); |