Index: third_party/tcmalloc/chromium/src/base/stl_allocator.h |
diff --git a/third_party/tcmalloc/chromium/src/base/stl_allocator.h b/third_party/tcmalloc/chromium/src/base/stl_allocator.h |
index 3152cf956682df8e75e8b513613e15bc4009b4ea..22bd4ae1b7d0d777d8b04ac9ee1acd6bae5bca5b 100644 |
--- a/third_party/tcmalloc/chromium/src/base/stl_allocator.h |
+++ b/third_party/tcmalloc/chromium/src/base/stl_allocator.h |
@@ -37,7 +37,7 @@ |
#include <config.h> |
-#include <stddef.h> // for ptrdiff_t |
+#include <stddef.h> // for std::ptrdiff_t |
#include <limits> |
#include "base/logging.h" |
@@ -59,7 +59,7 @@ template <typename T, class Alloc> |
class STL_Allocator { |
public: |
typedef size_t size_type; |
- typedef ptrdiff_t difference_type; |
+ typedef std::ptrdiff_t difference_type; |
typedef T* pointer; |
typedef const T* const_pointer; |
typedef T& reference; |