Index: cc/base/list_container_helper.h |
diff --git a/cc/base/list_container_helper.h b/cc/base/list_container_helper.h |
index 61ca25e8858e85691410ee62bd92ddd690cfc368..d4f5ead8ac7f5c61b8c005e8b3a36dd54b7cafbf 100644 |
--- a/cc/base/list_container_helper.h |
+++ b/cc/base/list_container_helper.h |
@@ -7,8 +7,9 @@ |
#include <stddef.h> |
+#include <memory> |
+ |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "cc/base/cc_export.h" |
namespace cc { |
@@ -171,7 +172,7 @@ class CC_EXPORT ListContainerHelper final { |
// Hands out memory location for an element at the end of data structure. |
void* Allocate(size_t size_of_actual_element_in_bytes); |
- scoped_ptr<CharAllocator> data_; |
+ std::unique_ptr<CharAllocator> data_; |
DISALLOW_COPY_AND_ASSIGN(ListContainerHelper); |
}; |