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

Unified Diff: Source/wtf/Vector.h

Issue 131803005: Add more oilpan collections support (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix OtherType for Windows compielr Created 6 years, 11 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
« Source/heap/Heap.h ('K') | « Source/wtf/HashTable.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 5f0fd4be0ea7e6eac897108f25ca31afc3741af0..836f6fba861a7b2f98f67ca6be6e8e31481003bc 100644
--- a/Source/wtf/Vector.h
+++ b/Source/wtf/Vector.h
@@ -1143,10 +1143,10 @@ static const size_t kInitialVectorSize = WTF_VECTOR_INITIAL_SIZE;
const T* bufferEnd = buffer() + size();
if (VectorTraits<T>::needsTracing) {
for (const T* bufferEntry = bufferBegin; bufferEntry != bufferEnd; bufferEntry++)
- Allocator::template visitWith<T, VectorTraits<T> >(visitor, *const_cast<T*>(bufferEntry));
+ Allocator::template trace<T, VectorTraits<T> >(visitor, *const_cast<T*>(bufferEntry));
}
if (this->hasOutOfLineBuffer())
- Allocator::markUsingGCInfo(visitor, buffer());
+ Allocator::markNoTracing(visitor, buffer());
}
} // namespace WTF
« Source/heap/Heap.h ('K') | « Source/wtf/HashTable.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698