Index: third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/scoped_ptr.h |
diff --git a/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/scoped_ptr.h b/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/scoped_ptr.h |
index b849a40f6dc66874158b1824d1475788363fdd30..f242d18d9a09d00546c20b1131ca954f0ab9e757 100644 |
--- a/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/scoped_ptr.h |
+++ b/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/scoped_ptr.h |
@@ -5,11 +5,12 @@ |
#ifndef GOOGLE_CACHEINVALIDATION_DEPS_SCOPED_PTR_H_ |
#define GOOGLE_CACHEINVALIDATION_DEPS_SCOPED_PTR_H_ |
-#include "base/memory/scoped_ptr.h" |
+#include <memory> |
namespace invalidation { |
-using ::scoped_ptr; |
+template <typename T, typename D = std::default_delete<T>> |
+using scoped_ptr = std::unique_ptr<T, D>; |
} // namespace invalidation |