| Index: handler/crash_report_upload_thread.cc
|
| diff --git a/handler/crash_report_upload_thread.cc b/handler/crash_report_upload_thread.cc
|
| index b88f3e1bdb7b12c3fbcb6b6d33980f00ff8a0239..c5fdfaad2e6607cb6c33f7e219331ad3deedbe92 100644
|
| --- a/handler/crash_report_upload_thread.cc
|
| +++ b/handler/crash_report_upload_thread.cc
|
| @@ -28,6 +28,7 @@
|
| #include "snapshot/minidump/process_snapshot_minidump.h"
|
| #include "snapshot/module_snapshot.h"
|
| #include "util/file/file_reader.h"
|
| +#include "util/stdlib/move.h"
|
| #include "util/misc/uuid.h"
|
| #include "util/net/http_body.h"
|
| #include "util/net/http_multipart_builder.h"
|
| @@ -366,7 +367,7 @@ CrashReportUploadThread::UploadResult CrashReportUploadThread::UploadReport(
|
| HTTPHeaders::value_type content_type =
|
| http_multipart_builder.GetContentType();
|
| http_transport->SetHeader(content_type.first, content_type.second);
|
| - http_transport->SetBodyStream(http_multipart_builder.GetBodyStream().Pass());
|
| + http_transport->SetBodyStream(http_multipart_builder.GetBodyStream());
|
| // TODO(mark): The timeout should be configurable by the client.
|
| http_transport->SetTimeout(60.0); // 1 minute.
|
|
|
|
|