Index: third_party/crashpad/crashpad/minidump/minidump_memory_info_writer_test.cc |
diff --git a/third_party/crashpad/crashpad/minidump/minidump_memory_info_writer_test.cc b/third_party/crashpad/crashpad/minidump/minidump_memory_info_writer_test.cc |
index f59cbb85ebda9ab24efbbbe8ec6ab2a44d911896..6d943d28c5bd6d25e8e5f56610b9586cf1692000 100644 |
--- a/third_party/crashpad/crashpad/minidump/minidump_memory_info_writer_test.cc |
+++ b/third_party/crashpad/crashpad/minidump/minidump_memory_info_writer_test.cc |
@@ -12,13 +12,13 @@ |
// See the License for the specific language governing permissions and |
// limitations under the License. |
-#include "minidump/minidump_memory_info_writer.h" |
- |
#include <string> |
#include <utility> |
+#include "base/memory/ptr_util.h" |
#include "gtest/gtest.h" |
#include "minidump/minidump_file_writer.h" |
+#include "minidump/minidump_memory_info_writer.h" |
#include "minidump/test/minidump_file_writer_test_util.h" |
#include "minidump/test/minidump_writable_test_util.h" |
#include "snapshot/test/test_memory_map_region_snapshot.h" |
@@ -58,7 +58,7 @@ void GetMemoryInfoListStream( |
TEST(MinidumpMemoryInfoWriter, Empty) { |
MinidumpFileWriter minidump_file_writer; |
auto memory_info_list_writer = |
- make_scoped_ptr(new MinidumpMemoryInfoListWriter()); |
+ base::WrapUnique(new MinidumpMemoryInfoListWriter()); |
minidump_file_writer.AddStream(std::move(memory_info_list_writer)); |
StringFile string_file; |
@@ -78,9 +78,9 @@ TEST(MinidumpMemoryInfoWriter, Empty) { |
TEST(MinidumpMemoryInfoWriter, OneRegion) { |
MinidumpFileWriter minidump_file_writer; |
auto memory_info_list_writer = |
- make_scoped_ptr(new MinidumpMemoryInfoListWriter()); |
+ base::WrapUnique(new MinidumpMemoryInfoListWriter()); |
- auto memory_map_region = make_scoped_ptr(new TestMemoryMapRegionSnapshot()); |
+ auto memory_map_region = base::WrapUnique(new TestMemoryMapRegionSnapshot()); |
MINIDUMP_MEMORY_INFO mmi = {0}; |
mmi.BaseAddress = 0x12340000; |