Index: third_party/crashpad/crashpad/util/net/http_multipart_builder.cc |
diff --git a/third_party/crashpad/crashpad/util/net/http_multipart_builder.cc b/third_party/crashpad/crashpad/util/net/http_multipart_builder.cc |
index f42185696fe8f2b0952540d955bb2afec9f5c3ce..46f6f09099c9556e2f6e96f83496619f22b7a0c4 100644 |
--- a/third_party/crashpad/crashpad/util/net/http_multipart_builder.cc |
+++ b/third_party/crashpad/crashpad/util/net/http_multipart_builder.cc |
@@ -149,7 +149,7 @@ void HTTPMultipartBuilder::SetFileAttachment( |
file_attachments_[key] = attachment; |
} |
-scoped_ptr<HTTPBodyStream> HTTPMultipartBuilder::GetBodyStream() { |
+std::unique_ptr<HTTPBodyStream> HTTPMultipartBuilder::GetBodyStream() { |
// The objects inserted into this vector will be owned by the returned |
// CompositeHTTPBodyStream. Take care to not early-return without deleting |
// this memory. |
@@ -179,7 +179,7 @@ scoped_ptr<HTTPBodyStream> HTTPMultipartBuilder::GetBodyStream() { |
streams.push_back( |
new StringHTTPBodyStream("--" + boundary_ + "--" + kCRLF)); |
- return scoped_ptr<HTTPBodyStream>(new CompositeHTTPBodyStream(streams)); |
+ return std::unique_ptr<HTTPBodyStream>(new CompositeHTTPBodyStream(streams)); |
} |
HTTPHeaders::value_type HTTPMultipartBuilder::GetContentType() const { |