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

Unified Diff: content/shell/browser/shell_net_log.cc

Issue 1544293002: Convert Pass()→std::move() in //content (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: content/shell/browser/shell_net_log.cc
diff --git a/content/shell/browser/shell_net_log.cc b/content/shell/browser/shell_net_log.cc
index 7ecc5e8b7dc6ab444a48df4c254b8a6f9418fa6d..6e00a3c3f0bbb2ccfec35202b08ae3165e6d335e 100644
--- a/content/shell/browser/shell_net_log.cc
+++ b/content/shell/browser/shell_net_log.cc
@@ -5,6 +5,7 @@
#include "content/shell/browser/shell_net_log.h"
#include <stdio.h>
+#include <utility>
#include "base/command_line.h"
#include "base/files/file_path.h"
@@ -65,8 +66,8 @@ ShellNetLog::ShellNetLog(const std::string& app_name) {
} else {
scoped_ptr<base::Value> constants(GetShellConstants(app_name));
write_to_file_observer_.reset(new net::WriteToFileNetLogObserver());
- write_to_file_observer_->StartObserving(this, file.Pass(),
- constants.get(), nullptr);
+ write_to_file_observer_->StartObserving(this, std::move(file),
+ constants.get(), nullptr);
}
}
}
« no previous file with comments | « content/shell/browser/shell_content_browser_client.cc ('k') | content/shell/browser/shell_url_request_context_getter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698