Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1268)

Unified Diff: util/net/http_transport.cc

Issue 1483073004: Replace use of .Pass() with crashpad::move(). (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: pass: comments Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: util/net/http_transport.cc
diff --git a/util/net/http_transport.cc b/util/net/http_transport.cc
index f11ee95c32d631ebb7f121048c9d79c19e647152..07b0b3434ba7b2673e922d25919d6acd451c94cf 100644
--- a/util/net/http_transport.cc
+++ b/util/net/http_transport.cc
@@ -14,6 +14,7 @@
#include "util/net/http_transport.h"
+#include "util/stdlib/move.h"
#include "util/net/http_body.h"
namespace crashpad {
@@ -43,7 +44,7 @@ void HTTPTransport::SetHeader(const std::string& header,
}
void HTTPTransport::SetBodyStream(scoped_ptr<HTTPBodyStream> stream) {
- body_stream_ = stream.Pass();
+ body_stream_ = crashpad::move(stream);
}
void HTTPTransport::SetTimeout(double timeout) {

Powered by Google App Engine
This is Rietveld 408576698