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

Unified Diff: remoting/signaling/log_to_server.cc

Issue 1864213002: Convert //remoting to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac IWYU Created 4 years, 8 months 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/signaling/log_to_server.h ('k') | remoting/signaling/log_to_server_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/signaling/log_to_server.cc
diff --git a/remoting/signaling/log_to_server.cc b/remoting/signaling/log_to_server.cc
index 2da454f0f29daa0511be8e0ceb1d236238650164..0116cce61f555220afcc8c4373d7fad06d68603a 100644
--- a/remoting/signaling/log_to_server.cc
+++ b/remoting/signaling/log_to_server.cc
@@ -59,7 +59,7 @@ void LogToServer::SendPendingEntries() {
return;
}
// Make one stanza containing all the pending entries.
- scoped_ptr<XmlElement> stanza(ServerLogEntry::MakeStanza());
+ std::unique_ptr<XmlElement> stanza(ServerLogEntry::MakeStanza());
while (!pending_entries_.empty()) {
ServerLogEntry& entry = pending_entries_.front();
stanza->AddElement(entry.ToStanza().release());
« no previous file with comments | « remoting/signaling/log_to_server.h ('k') | remoting/signaling/log_to_server_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698