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

Unified Diff: Source/wtf/Vector.h

Issue 835953003: Fix template angle bracket syntax (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « Source/wtf/TypeTraits.cpp ('k') | Source/wtf/VectorTest.cpp » ('j') | 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 982c68912b935dbb594515eb43e6e10c12953a36..0db6c86c5bb1f51deebbfe90bb6cafaaeb9677e7 100644
--- a/Source/wtf/Vector.h
+++ b/Source/wtf/Vector.h
@@ -309,7 +309,7 @@ static const size_t kInitialVectorSize = WTF_VECTOR_INITIAL_SIZE;
void clearUnusedSlots(T* from, T* to)
{
- VectorUnusedSlotClearer<Allocator::isGarbageCollected && (VectorTraits<T>::needsDestruction || ShouldBeTraced<VectorTraits<T> >::value), T>::clear(from, to);
+ VectorUnusedSlotClearer<Allocator::isGarbageCollected && (VectorTraits<T>::needsDestruction || ShouldBeTraced<VectorTraits<T>>::value), T>::clear(from, to);
}
protected:
@@ -1216,9 +1216,9 @@ static const size_t kInitialVectorSize = WTF_VECTOR_INITIAL_SIZE;
ASSERT(Allocator::isGarbageCollected); // Garbage collector must be enabled.
const T* bufferBegin = buffer();
const T* bufferEnd = buffer() + size();
- if (ShouldBeTraced<VectorTraits<T> >::value) {
+ if (ShouldBeTraced<VectorTraits<T>>::value) {
for (const T* bufferEntry = bufferBegin; bufferEntry != bufferEnd; bufferEntry++)
- Allocator::template trace<VisitorDispatcher, T, VectorTraits<T> >(visitor, *const_cast<T*>(bufferEntry));
+ Allocator::template trace<VisitorDispatcher, T, VectorTraits<T>>(visitor, *const_cast<T*>(bufferEntry));
}
if (this->hasOutOfLineBuffer())
Allocator::markNoTracing(visitor, buffer());
@@ -1226,7 +1226,7 @@ static const size_t kInitialVectorSize = WTF_VECTOR_INITIAL_SIZE;
#if !ENABLE(OILPAN)
template<typename T, size_t N>
- struct NeedsTracing<Vector<T, N> > {
+ struct NeedsTracing<Vector<T, N>> {
static const bool value = false;
};
#endif
« no previous file with comments | « Source/wtf/TypeTraits.cpp ('k') | Source/wtf/VectorTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698