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

Unified Diff: Source/platform/heap/HeapAllocator.h

Issue 1329853003: Oilpan: Remove unused methods from HeapDeque (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/HeapAllocator.h
diff --git a/Source/platform/heap/HeapAllocator.h b/Source/platform/heap/HeapAllocator.h
index b328dbdc593ca4ae56e561fbd74c8143c0252dd9..a79b34c1776101e2eea258e7d1564f937ee3c3ec 100644
--- a/Source/platform/heap/HeapAllocator.h
+++ b/Source/platform/heap/HeapAllocator.h
@@ -408,27 +408,15 @@ public:
HeapDeque<T, 0>& operator=(const HeapDeque& other)
{
HeapDeque<T> copy(other);
- swap(copy);
+ Deque<T, inlineCapacity, HeapAllocator>::swap(copy);
return *this;
}
- // FIXME: Doesn't work if there is an inline buffer, due to crbug.com/360572
- void swap(HeapDeque& other)
- {
- Deque<T, inlineCapacity, HeapAllocator>::swap(other);
- }
-
template<size_t otherCapacity>
HeapDeque(const HeapDeque<T, otherCapacity>& other)
: Deque<T, inlineCapacity, HeapAllocator>(other)
{
}
-
- template<typename U>
- void append(const U& other)
- {
- Deque<T, inlineCapacity, HeapAllocator>::append(other);
- }
};
template<typename T, size_t i>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698