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

Unified Diff: Source/wtf/Deque.h

Issue 526023003: Oilpan: use template aliases for heap version of collections. Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Speculative windows compiler crash fix. Created 6 years, 4 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/platform/heap/Heap.h ('k') | no next file » | 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 f855f1dad79c8b77bf8c593871648192c867b4de..291c5889ea03cf71d59daa89e7610aa3baddf01a 100644
--- a/Source/wtf/Deque.h
+++ b/Source/wtf/Deque.h
@@ -229,7 +229,7 @@ namespace WTF {
template<typename T, size_t inlineCapacity, typename Allocator>
inline Deque<T, 0, Allocator>& Deque<T, inlineCapacity, Allocator>::operator=(const Deque& other)
{
- Deque<T> copy(other);
+ Deque<T, 0, Allocator> copy(other);
swap(copy);
return *this;
}
« no previous file with comments | « Source/platform/heap/Heap.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698