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

Side by Side Diff: Source/wtf/Vector.h

Issue 1088843002: Add #include <algorithm> to code that is missing it. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: And no more comments Created 5 years, 8 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
« no previous file with comments | « Source/wtf/RetainPtr.h ('k') | Source/wtf/text/WTFString.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 12 matching lines...) Expand all
23 23
24 #include "wtf/Alignment.h" 24 #include "wtf/Alignment.h"
25 #include "wtf/ConditionalDestructor.h" 25 #include "wtf/ConditionalDestructor.h"
26 #include "wtf/ContainerAnnotations.h" 26 #include "wtf/ContainerAnnotations.h"
27 #include "wtf/DefaultAllocator.h" 27 #include "wtf/DefaultAllocator.h"
28 #include "wtf/FastAllocBase.h" 28 #include "wtf/FastAllocBase.h"
29 #include "wtf/Noncopyable.h" 29 #include "wtf/Noncopyable.h"
30 #include "wtf/NotFound.h" 30 #include "wtf/NotFound.h"
31 #include "wtf/StdLibExtras.h" 31 #include "wtf/StdLibExtras.h"
32 #include "wtf/VectorTraits.h" 32 #include "wtf/VectorTraits.h"
33 #include <algorithm>
34 #include <iterator>
33 #include <string.h> 35 #include <string.h>
34 #include <utility> 36 #include <utility>
35 37
36 // For ASAN builds, disable inline buffers completely as they cause various issu es. 38 // For ASAN builds, disable inline buffers completely as they cause various issu es.
37 #ifdef ANNOTATE_CONTIGUOUS_CONTAINER 39 #ifdef ANNOTATE_CONTIGUOUS_CONTAINER
38 #define INLINE_CAPACITY 0 40 #define INLINE_CAPACITY 0
39 #else 41 #else
40 #define INLINE_CAPACITY inlineCapacity 42 #define INLINE_CAPACITY inlineCapacity
41 #endif 43 #endif
42 44
(...skipping 1254 matching lines...) Expand 10 before | Expand all | Expand 10 after
1297 struct NeedsTracing<Vector<T, N>> { 1299 struct NeedsTracing<Vector<T, N>> {
1298 static const bool value = false; 1300 static const bool value = false;
1299 }; 1301 };
1300 #endif 1302 #endif
1301 1303
1302 } // namespace WTF 1304 } // namespace WTF
1303 1305
1304 using WTF::Vector; 1306 using WTF::Vector;
1305 1307
1306 #endif // WTF_Vector_h 1308 #endif // WTF_Vector_h
OLDNEW
« no previous file with comments | « Source/wtf/RetainPtr.h ('k') | Source/wtf/text/WTFString.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698