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 8276a83d77f7ceee765346cdcb5a1ff41c43c20e..f7adb687e627a43b165854fe8f09f34f24fbc14e 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; |