| Index: third_party/WebKit/Source/wtf/Deque.h
|
| diff --git a/third_party/WebKit/Source/wtf/Deque.h b/third_party/WebKit/Source/wtf/Deque.h
|
| index aaed1c94fb027fe3ab811d1ff8c96fb09c2ef1eb..c7c2251c1aa387ce975568ba47b00809a44a25d7 100644
|
| --- a/third_party/WebKit/Source/wtf/Deque.h
|
| +++ b/third_party/WebKit/Source/wtf/Deque.h
|
| @@ -127,8 +127,8 @@
|
|
|
| template <typename U>
|
| void prepend(U&&);
|
| - void erase(iterator&);
|
| - void erase(const_iterator&);
|
| + void remove(iterator&);
|
| + void remove(const_iterator&);
|
|
|
| // STL compatibility.
|
| template <typename U>
|
| @@ -183,7 +183,7 @@
|
| typedef VectorTypeOperations<T> TypeOperations;
|
| typedef DequeIteratorBase<T, inlineCapacity, Allocator> IteratorBase;
|
|
|
| - void erase(size_t position);
|
| + void remove(size_t position);
|
| void destroyAll();
|
| void expandCapacityIfNeeded();
|
| void expandCapacity();
|
| @@ -565,17 +565,17 @@
|
| }
|
|
|
| template <typename T, size_t inlineCapacity, typename Allocator>
|
| -inline void Deque<T, inlineCapacity, Allocator>::erase(iterator& it) {
|
| - erase(it.m_index);
|
| -}
|
| -
|
| -template <typename T, size_t inlineCapacity, typename Allocator>
|
| -inline void Deque<T, inlineCapacity, Allocator>::erase(const_iterator& it) {
|
| - erase(it.m_index);
|
| -}
|
| -
|
| -template <typename T, size_t inlineCapacity, typename Allocator>
|
| -inline void Deque<T, inlineCapacity, Allocator>::erase(size_t position) {
|
| +inline void Deque<T, inlineCapacity, Allocator>::remove(iterator& it) {
|
| + remove(it.m_index);
|
| +}
|
| +
|
| +template <typename T, size_t inlineCapacity, typename Allocator>
|
| +inline void Deque<T, inlineCapacity, Allocator>::remove(const_iterator& it) {
|
| + remove(it.m_index);
|
| +}
|
| +
|
| +template <typename T, size_t inlineCapacity, typename Allocator>
|
| +inline void Deque<T, inlineCapacity, Allocator>::remove(size_t position) {
|
| if (position == m_end)
|
| return;
|
|
|
|
|