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

Unified Diff: Source/wtf/RawPtr.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/RawPtr.h
diff --git a/Source/wtf/RawPtr.h b/Source/wtf/RawPtr.h
index 758bb12c14d711e34251e5366862a1f31ff9b672..4804ee31c9d3fb9de893859acdd54d5aa3bfc835 100644
--- a/Source/wtf/RawPtr.h
+++ b/Source/wtf/RawPtr.h
@@ -31,11 +31,10 @@
#ifndef WTF_RawPtr_h
#define WTF_RawPtr_h
-#include <algorithm>
-#include <stdint.h>
-
#include "wtf/HashTableDeletedValueType.h"
#include "wtf/TypeTraits.h"
+#include <algorithm> // For std::swap
Nico 2015/04/16 21:16:56 remove comment
+#include <stdint.h>
Nico 2015/04/16 21:16:56 add <utility> :-/
// RawPtr is a simple wrapper for a raw pointer that provides the
// interface (get, clear) of other pointer types such as RefPtr,
« Source/wtf/OwnPtr.h ('K') | « Source/wtf/OwnPtr.h ('k') | Source/wtf/RefPtr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698