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

Unified Diff: remoting/host/server_log_entry_host.cc

Issue 1549493004: Use std::move() instead of .Pass() in remoting/host (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_not_pass
Patch Set: include <utility> 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 | « remoting/host/resizing_host_observer_unittest.cc ('k') | remoting/host/setup/daemon_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/server_log_entry_host.cc
diff --git a/remoting/host/server_log_entry_host.cc b/remoting/host/server_log_entry_host.cc
index f86449638481460b89c82994ab9fc2d79235cf58..2ede7e8a70647503f8f8b6c71f22d93a15ce6c8f 100644
--- a/remoting/host/server_log_entry_host.cc
+++ b/remoting/host/server_log_entry_host.cc
@@ -39,14 +39,14 @@ scoped_ptr<ServerLogEntry> MakeLogEntryForSessionStateChange(
entry->AddRoleField(kValueRoleHost);
entry->AddEventNameField(kValueEventNameSessionState);
entry->Set(kKeySessionState, GetValueSessionState(connected));
- return entry.Pass();
+ return entry;
}
scoped_ptr<ServerLogEntry> MakeLogEntryForHeartbeat() {
scoped_ptr<ServerLogEntry> entry(new ServerLogEntry());
entry->AddRoleField(kValueRoleHost);
entry->AddEventNameField(kValueEventNameHeartbeat);
- return entry.Pass();
+ return entry;
}
void AddHostFieldsToLogEntry(ServerLogEntry* entry) {
« no previous file with comments | « remoting/host/resizing_host_observer_unittest.cc ('k') | remoting/host/setup/daemon_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698