summaryrefslogtreecommitdiffstats
path: root/remoting/host/log_to_server.cc
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-20 20:31:44 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-20 20:31:44 +0000
commit3361e1f24a5dd45ae86478af20c617d0b1ce40e0 (patch)
tree70079ed87a90f8f2322de722e6073ba192931196 /remoting/host/log_to_server.cc
parentbd1a64b72240734d1061b7edd95ec9f268792c49 (diff)
downloadchromium_src-3361e1f24a5dd45ae86478af20c617d0b1ce40e0.zip
chromium_src-3361e1f24a5dd45ae86478af20c617d0b1ce40e0.tar.gz
chromium_src-3361e1f24a5dd45ae86478af20c617d0b1ce40e0.tar.bz2
Use scoped_ptr<> to pass ownership in more places.
Review URL: http://codereview.chromium.org/9720019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127767 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/log_to_server.cc')
-rw-r--r--remoting/host/log_to_server.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/host/log_to_server.cc b/remoting/host/log_to_server.cc
index f75764a..47c4836 100644
--- a/remoting/host/log_to_server.cc
+++ b/remoting/host/log_to_server.cc
@@ -97,7 +97,7 @@ void LogToServer::SendPendingEntries() {
kChromotingXmlNamespace, kLogCommand)));
while (!pending_entries_.empty()) {
ServerLogEntry& entry = pending_entries_.front();
- stanza->AddElement(entry.ToStanza());
+ stanza->AddElement(entry.ToStanza().release());
pending_entries_.pop_front();
}
// Send the stanza to the server.