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

Unified Diff: remoting/client/plugin/chromoting_instance.cc

Issue 8116021: Switch remoting/protocol to new callbacks (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 2 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/client/chromoting_client.cc ('k') | remoting/host/chromoting_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/plugin/chromoting_instance.cc
diff --git a/remoting/client/plugin/chromoting_instance.cc b/remoting/client/plugin/chromoting_instance.cc
index 60bd86739caa1ba94926a5d4a3bb69ff7cf0b773..71f498dfadae91ed31f90053dbdd7a235e929a18 100644
--- a/remoting/client/plugin/chromoting_instance.cc
+++ b/remoting/client/plugin/chromoting_instance.cc
@@ -318,7 +318,7 @@ void ChromotingInstance::SubmitLoginInfo(const std::string& username,
host_connection_->host_stub()->BeginSessionRequest(
credentials,
- new DeleteTask<protocol::LocalLoginCredentials>(credentials));
+ base::Bind(&DeletePointer<protocol::LocalLoginCredentials>, credentials));
}
void ChromotingInstance::SetScaleToFit(bool scale_to_fit) {
« no previous file with comments | « remoting/client/chromoting_client.cc ('k') | remoting/host/chromoting_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698