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

Unified Diff: net/log/test_net_log_entry.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 | « net/log/net_log_util.cc ('k') | net/log/trace_net_log_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/log/test_net_log_entry.cc
diff --git a/net/log/test_net_log_entry.cc b/net/log/test_net_log_entry.cc
index 34e9ffa6dc0518b6281ef54075d2741ca4be318b..e9fd982217e649a175ba3f4ff664a9d2d64800ed 100644
--- a/net/log/test_net_log_entry.cc
+++ b/net/log/test_net_log_entry.cc
@@ -4,6 +4,8 @@
#include "net/log/test_net_log_entry.h"
+#include <utility>
+
#include "base/json/json_writer.h"
#include "base/logging.h"
#include "base/values.h"
@@ -19,7 +21,7 @@ TestNetLogEntry::TestNetLogEntry(NetLog::EventType type,
time(time),
source(source),
phase(phase),
- params(params.Pass()) {
+ params(std::move(params)) {
// Only entries without a NetLog should have an invalid source.
CHECK(source.IsValid());
}
« no previous file with comments | « net/log/net_log_util.cc ('k') | net/log/trace_net_log_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698