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

Unified Diff: Source/wtf/Vector.h

Issue 199273005: Oilpan: Change the name of the finalization method that can be (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/heap/Visitor.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « Source/heap/Visitor.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698