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

Unified Diff: net/base/address_list.cc

Issue 1545233002: Convert Pass()→std::move() in //net (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
« no previous file with comments | « no previous file | net/base/backoff_entry_serializer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/address_list.cc
diff --git a/net/base/address_list.cc b/net/base/address_list.cc
index e03087812f1f443cc47c62aa82c7d54b6cf3805f..5b4fe34ac03fc6c9df7959ebf2e51a4d2d66c166 100644
--- a/net/base/address_list.cc
+++ b/net/base/address_list.cc
@@ -4,6 +4,8 @@
#include "net/base/address_list.h"
+#include <utility>
+
#include "base/bind.h"
#include "base/logging.h"
#include "base/values.h"
@@ -25,8 +27,8 @@ scoped_ptr<base::Value> NetLogAddressListCallback(
list->Append(new base::StringValue(it->ToString()));
}
- dict->Set("address_list", list.Pass());
- return dict.Pass();
+ dict->Set("address_list", std::move(list));
+ return std::move(dict);
}
} // namespace
« no previous file with comments | « no previous file | net/base/backoff_entry_serializer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698