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

Unified Diff: Source/wtf/Deque.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/CheckedArithmetic.h ('k') | Source/wtf/DequeTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/Deque.h
diff --git a/Source/wtf/Deque.h b/Source/wtf/Deque.h
index e853478df4a42148558e1cad51d6b2fd22939746..8ace2aab6b432f0d1bd90821ca27fd8ebdeb4545 100644
--- a/Source/wtf/Deque.h
+++ b/Source/wtf/Deque.h
@@ -534,16 +534,16 @@ namespace WTF {
ASSERT(Allocator::isGarbageCollected); // Garbage collector must be enabled.
const T* bufferBegin = m_buffer.buffer();
const T* end = bufferBegin + m_end;
- if (ShouldBeTraced<VectorTraits<T> >::value) {
+ if (ShouldBeTraced<VectorTraits<T>>::value) {
if (m_start <= m_end) {
for (const T* bufferEntry = bufferBegin + m_start; bufferEntry != end; 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));
} else {
for (const T* bufferEntry = bufferBegin; bufferEntry != end; 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));
const T* bufferEnd = m_buffer.buffer() + m_buffer.capacity();
for (const T* bufferEntry = bufferBegin + m_start; 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 (m_buffer.hasOutOfLineBuffer())
@@ -558,7 +558,7 @@ namespace WTF {
#if !ENABLE(OILPAN)
template<typename T, size_t N>
- struct NeedsTracing<Deque<T, N> > {
+ struct NeedsTracing<Deque<T, N>> {
static const bool value = false;
};
#endif
« no previous file with comments | « Source/wtf/CheckedArithmetic.h ('k') | Source/wtf/DequeTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698