Commit 08f288ba authored by haraken@chromium.org's avatar haraken@chromium.org

Oilpan: Remove unused methods from HeapDeque

BUG=

Review URL: https://codereview.chromium.org/1329853003

git-svn-id: svn://svn.chromium.org/blink/trunk@201783 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 8e550a47
...@@ -389,27 +389,15 @@ public: ...@@ -389,27 +389,15 @@ public:
HeapDeque<T, 0>& operator=(const HeapDeque& other) HeapDeque<T, 0>& operator=(const HeapDeque& other)
{ {
HeapDeque<T> copy(other); HeapDeque<T> copy(other);
swap(copy); Deque<T, inlineCapacity, HeapAllocator>::swap(copy);
return *this; 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> template<size_t otherCapacity>
HeapDeque(const HeapDeque<T, otherCapacity>& other) HeapDeque(const HeapDeque<T, otherCapacity>& other)
: Deque<T, inlineCapacity, HeapAllocator>(other) : Deque<T, inlineCapacity, HeapAllocator>(other)
{ {
} }
template<typename U>
void append(const U& other)
{
Deque<T, inlineCapacity, HeapAllocator>::append(other);
}
}; };
} // namespace blink } // namespace blink
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment