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

Unified Diff: remoting/client/server_log_entry_client.cc

Issue 1545723002: Use std::move() instead of .Pass() in remoting/* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_not_pass_host
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 | « remoting/client/plugin/pepper_video_renderer_3d.cc ('k') | remoting/client/software_video_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/server_log_entry_client.cc
diff --git a/remoting/client/server_log_entry_client.cc b/remoting/client/server_log_entry_client.cc
index 61e1d6cb73f63329ebf7e10539d1d98311fb3be1..068615903afb8db051d3adba5f64a3964d7a911c 100644
--- a/remoting/client/server_log_entry_client.cc
+++ b/remoting/client/server_log_entry_client.cc
@@ -105,7 +105,7 @@ scoped_ptr<ServerLogEntry> MakeLogEntryForSessionStateChange(
entry->Set(kKeyConnectionError, GetValueError(error));
}
- return entry.Pass();
+ return entry;
}
scoped_ptr<ServerLogEntry> MakeLogEntryForStatistics(
@@ -127,7 +127,7 @@ scoped_ptr<ServerLogEntry> MakeLogEntryForStatistics(
entry->Set("roundtrip-latency",
StringPrintf("%.2f", perf_tracker->round_trip_ms()));
- return entry.Pass();
+ return entry;
}
scoped_ptr<ServerLogEntry> MakeLogEntryForSessionIdOld(
@@ -136,7 +136,7 @@ scoped_ptr<ServerLogEntry> MakeLogEntryForSessionIdOld(
entry->AddRoleField(kValueRoleClient);
entry->AddEventNameField(kValueEventNameSessionIdOld);
AddSessionIdToLogEntry(entry.get(), session_id);
- return entry.Pass();
+ return entry;
}
scoped_ptr<ServerLogEntry> MakeLogEntryForSessionIdNew(
@@ -145,7 +145,7 @@ scoped_ptr<ServerLogEntry> MakeLogEntryForSessionIdNew(
entry->AddRoleField(kValueRoleClient);
entry->AddEventNameField(kValueEventNameSessionIdNew);
AddSessionIdToLogEntry(entry.get(), session_id);
- return entry.Pass();
+ return entry;
}
void AddClientFieldsToLogEntry(ServerLogEntry* entry) {
« no previous file with comments | « remoting/client/plugin/pepper_video_renderer_3d.cc ('k') | remoting/client/software_video_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698