| 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 19d6817038f6b1c2498c3d9f2ddaa06fee1ec5d4..ac5a6d085a782dc2b441a36563e89e876d4f3be3 100644
|
| --- a/third_party/WebKit/Source/wtf/Deque.h
|
| +++ b/third_party/WebKit/Source/wtf/Deque.h
|
| @@ -136,9 +136,6 @@ class Deque : public ConditionalDestructor<Deque<T, INLINE_CAPACITY, Allocator>,
|
|
|
| void clear();
|
|
|
| - template <typename Predicate>
|
| - iterator findIf(Predicate&);
|
| -
|
| template <typename VisitorDispatcher>
|
| void trace(VisitorDispatcher);
|
|
|
| @@ -419,18 +416,6 @@ inline void Deque<T, inlineCapacity, Allocator>::clear() {
|
| }
|
|
|
| template <typename T, size_t inlineCapacity, typename Allocator>
|
| -template <typename Predicate>
|
| -inline DequeIterator<T, inlineCapacity, Allocator>
|
| -Deque<T, inlineCapacity, Allocator>::findIf(Predicate& predicate) {
|
| - iterator endIterator = end();
|
| - for (iterator it = begin(); it != endIterator; ++it) {
|
| - if (predicate(*it))
|
| - return it;
|
| - }
|
| - return endIterator;
|
| -}
|
| -
|
| -template <typename T, size_t inlineCapacity, typename Allocator>
|
| inline void Deque<T, inlineCapacity, Allocator>::expandCapacityIfNeeded() {
|
| if (m_start) {
|
| if (m_end + 1 != m_start)
|
|
|