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) { |