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

Unified Diff: components/net_log/net_log_temp_file.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
« no previous file with comments | « components/net_log/chrome_net_log.cc ('k') | components/network_time/network_time_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/net_log/net_log_temp_file.cc
diff --git a/components/net_log/net_log_temp_file.cc b/components/net_log/net_log_temp_file.cc
index e77556715b0626a7b4e11125c621f21328167aa1..d4643addd0f5b6d94cb8d4b4561ad1f960d38e2b 100644
--- a/components/net_log/net_log_temp_file.cc
+++ b/components/net_log/net_log_temp_file.cc
@@ -4,6 +4,8 @@
#include "components/net_log/net_log_temp_file.h"
+#include <utility>
+
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/files/scoped_file.h"
@@ -188,7 +190,7 @@ void NetLogTempFile::StartNetLog(LogType log_type) {
ChromeNetLog::GetConstants(command_line_string_, channel_string_));
write_to_file_observer_.reset(new net::WriteToFileNetLogObserver());
write_to_file_observer_->set_capture_mode(GetCaptureModeForLogType(log_type));
- write_to_file_observer_->StartObserving(chrome_net_log_, file.Pass(),
+ write_to_file_observer_->StartObserving(chrome_net_log_, std::move(file),
constants.get(), nullptr);
}
« no previous file with comments | « components/net_log/chrome_net_log.cc ('k') | components/network_time/network_time_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698