Index: minidump/minidump_memory_writer.cc |
diff --git a/minidump/minidump_memory_writer.cc b/minidump/minidump_memory_writer.cc |
index 606623e453e815144514cb95f91e4df023afbb8b..1c9b2858e401e1b1a0928656c37beb9d076680bf 100644 |
--- a/minidump/minidump_memory_writer.cc |
+++ b/minidump/minidump_memory_writer.cc |
@@ -18,6 +18,7 @@ |
#include "base/logging.h" |
#include "snapshot/memory_snapshot.h" |
#include "util/file/file_writer.h" |
+#include "util/stdlib/move.h" |
#include "util/numeric/safe_assignment.h" |
namespace crashpad { |
@@ -177,7 +178,7 @@ void MinidumpMemoryListWriter::AddFromSnapshot( |
for (const MemorySnapshot* memory_snapshot : memory_snapshots) { |
scoped_ptr<MinidumpMemoryWriter> memory = |
MinidumpMemoryWriter::CreateFromSnapshot(memory_snapshot); |
- AddMemory(memory.Pass()); |
+ AddMemory(crashpad::move(memory)); |
} |
} |