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

Unified Diff: components/net_log/chrome_net_log.cc

Issue 1548203002: Convert Pass()→std::move() in //components/[n-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad headers 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: components/net_log/chrome_net_log.cc
diff --git a/components/net_log/chrome_net_log.cc b/components/net_log/chrome_net_log.cc
index ad3c2d580468296f949ce7976a36caee69e1c042..f17908f82ca2fd6ac5b29a7e2326e244fb545f3d 100644
--- a/components/net_log/chrome_net_log.cc
+++ b/components/net_log/chrome_net_log.cc
@@ -5,6 +5,7 @@
#include "components/net_log/chrome_net_log.h"
#include <stdio.h>
+#include <utility>
#include "base/command_line.h"
#include "base/files/scoped_file.h"
@@ -54,7 +55,7 @@ ChromeNetLog::ChromeNetLog(
write_to_file_observer_->set_capture_mode(log_file_mode);
- write_to_file_observer_->StartObserving(this, file.Pass(),
+ write_to_file_observer_->StartObserving(this, std::move(file),
constants.get(), nullptr);
}
}
« no previous file with comments | « components/navigation_interception/intercept_navigation_throttle_unittest.cc ('k') | components/net_log/net_log_temp_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698