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

Unified Diff: chrome/browser/local_discovery/privet_http.cc

Issue 1551503002: Convert Pass()→std::move() in //chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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: chrome/browser/local_discovery/privet_http.cc
diff --git a/chrome/browser/local_discovery/privet_http.cc b/chrome/browser/local_discovery/privet_http.cc
index e3ff4685c9eb64fcd911a3cc438593657f6306a6..6b68f0dbe99d13c2d6dc375c51ea7942b9297bb9 100644
--- a/chrome/browser/local_discovery/privet_http.cc
+++ b/chrome/browser/local_discovery/privet_http.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/local_discovery/privet_http.h"
+#include <utility>
+
#include "chrome/browser/local_discovery/privet_http_impl.h"
namespace local_discovery {
@@ -14,7 +16,7 @@ scoped_ptr<PrivetV1HTTPClient> PrivetV1HTTPClient::CreateDefault(
if (!info_client)
return scoped_ptr<PrivetV1HTTPClient>();
return make_scoped_ptr<PrivetV1HTTPClient>(
- new PrivetV1HTTPClientImpl(info_client.Pass())).Pass();
+ new PrivetV1HTTPClientImpl(std::move(info_client)));
}
} // namespace local_discovery

Powered by Google App Engine
This is Rietveld 408576698