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

Unified Diff: chromecast/browser/cast_net_log.cc

Issue 1553503002: Convert Pass()→std::move() in //chromecast (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 | « chromecast/browser/cast_content_browser_client.cc ('k') | chromecast/browser/media/media_pipeline_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/cast_net_log.cc
diff --git a/chromecast/browser/cast_net_log.cc b/chromecast/browser/cast_net_log.cc
index d1c62d4b5f8900b8bdbb7fb82be5821b16c8c43b..a6e78c4fa73f411120b3214b001afb41bfbe46e3 100644
--- a/chromecast/browser/cast_net_log.cc
+++ b/chromecast/browser/cast_net_log.cc
@@ -5,6 +5,7 @@
#include "chromecast/browser/cast_net_log.h"
#include <stdio.h>
+#include <utility>
#include "base/command_line.h"
#include "base/files/file_path.h"
@@ -60,8 +61,8 @@ CastNetLog::CastNetLog() {
} else {
scoped_ptr<base::Value> constants(GetShellConstants());
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 | « chromecast/browser/cast_content_browser_client.cc ('k') | chromecast/browser/media/media_pipeline_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698