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

Unified 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: 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 side-by-side diff with in-line comments
Download patch
Index: Source/wtf/Vector.h
diff --git a/Source/wtf/Vector.h b/Source/wtf/Vector.h
index f353c01cd4140420a5b574bca4c90a2ba1aaa8f1..154f5b51bd6050a6c28b9bb7334e225af9e3d38f 100644
--- a/Source/wtf/Vector.h
+++ b/Source/wtf/Vector.h
@@ -30,8 +30,9 @@
#include "wtf/NotFound.h"
#include "wtf/StdLibExtras.h"
#include "wtf/VectorTraits.h"
+#include <algorithm>
+#include <iterator> // For reverse_iterator
#include <string.h>
-#include <utility>
// For ASAN builds, disable inline buffers completely as they cause various issues.
#ifdef ANNOTATE_CONTIGUOUS_CONTAINER
« Source/wtf/RawPtr.h ('K') | « 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