Index: minidump/minidump_exception_writer.cc |
diff --git a/minidump/minidump_exception_writer.cc b/minidump/minidump_exception_writer.cc |
index 3d0c3414d088f37542e5a1b8c13e1e55496fe5ac..f11b86ff6c4111125d76f88952679923f83fb0a6 100644 |
--- a/minidump/minidump_exception_writer.cc |
+++ b/minidump/minidump_exception_writer.cc |
@@ -21,6 +21,7 @@ |
#include "minidump/minidump_context_writer.h" |
#include "snapshot/exception_snapshot.h" |
#include "util/file/file_writer.h" |
+#include "util/stdlib/move.h" |
namespace crashpad { |
@@ -48,14 +49,14 @@ void MinidumpExceptionWriter::InitializeFromSnapshot( |
scoped_ptr<MinidumpContextWriter> context = |
MinidumpContextWriter::CreateFromSnapshot(exception_snapshot->Context()); |
- SetContext(context.Pass()); |
+ SetContext(crashpad::move(context)); |
} |
void MinidumpExceptionWriter::SetContext( |
scoped_ptr<MinidumpContextWriter> context) { |
DCHECK_EQ(state(), kStateMutable); |
- context_ = context.Pass(); |
+ context_ = crashpad::move(context); |
} |
void MinidumpExceptionWriter::SetExceptionInformation( |