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

Side by Side Diff: third_party/WebKit/Source/platform/wtf/Deque.h

Issue 2885313003: [scheduler] Fix --disable-background-timer-throttling flag. (Closed)
Patch Set: fix test crash Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Google Inc. All rights reserved. 3 * Copyright (C) 2009 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 15 matching lines...) Expand all
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */ 28 */
29 29
30 #ifndef WTF_Deque_h 30 #ifndef WTF_Deque_h
31 #define WTF_Deque_h 31 #define WTF_Deque_h
32 32
33 // FIXME: Could move what Vector and Deque share into a separate file. 33 // FIXME: Could move what Vector and Deque share into a separate file.
34 // Deque doesn't actually use Vector. 34 // Deque doesn't actually use Vector.
35 35
36 #include <iterator>
37 #include "platform/wtf/Allocator.h"
36 #include "platform/wtf/Vector.h" 38 #include "platform/wtf/Vector.h"
37 #include <iterator>
38 39
39 namespace WTF { 40 namespace WTF {
40 41
41 template <typename T, size_t inlineCapacity, typename Allocator> 42 template <typename T, size_t inlineCapacity, typename Allocator>
42 class DequeIteratorBase; 43 class DequeIteratorBase;
43 template <typename T, size_t inlineCapacity, typename Allocator> 44 template <typename T, size_t inlineCapacity, typename Allocator>
44 class DequeIterator; 45 class DequeIterator;
45 template <typename T, size_t inlineCapacity, typename Allocator> 46 template <typename T, size_t inlineCapacity, typename Allocator>
46 class DequeConstIterator; 47 class DequeConstIterator;
47 48
(...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after
696 inline void swap(Deque<T, inlineCapacity, Allocator>& a, 697 inline void swap(Deque<T, inlineCapacity, Allocator>& a,
697 Deque<T, inlineCapacity, Allocator>& b) { 698 Deque<T, inlineCapacity, Allocator>& b) {
698 a.Swap(b); 699 a.Swap(b);
699 } 700 }
700 701
701 } // namespace WTF 702 } // namespace WTF
702 703
703 using WTF::Deque; 704 using WTF::Deque;
704 705
705 #endif // WTF_Deque_h 706 #endif // WTF_Deque_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698