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

Unified Diff: remoting/client/chromoting_client.cc

Issue 2253233004: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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/base/chromium_url_request.cc ('k') | remoting/client/dual_buffer_frame_consumer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/chromoting_client.cc
diff --git a/remoting/client/chromoting_client.cc b/remoting/client/chromoting_client.cc
index 61feddfbb7736261612eff1dc7e7d6b12cb065c7..0dc8e7bbe8679affacd527b36e79d68548d0fbe9 100644
--- a/remoting/client/chromoting_client.cc
+++ b/remoting/client/chromoting_client.cc
@@ -247,10 +247,9 @@ void ChromotingClient::StartConnection() {
DCHECK(thread_checker_.CalledOnValidThread());
connection_->Connect(
session_manager_->Connect(
- host_jid_,
- base::WrapUnique(new protocol::NegotiatingClientAuthenticator(
- NormalizeJid(signal_strategy_->GetLocalJid()), host_jid_,
- client_auth_config_))),
+ host_jid_, base::MakeUnique<protocol::NegotiatingClientAuthenticator>(
+ NormalizeJid(signal_strategy_->GetLocalJid()),
+ host_jid_, client_auth_config_)),
transport_context_, this);
}
« no previous file with comments | « remoting/base/chromium_url_request.cc ('k') | remoting/client/dual_buffer_frame_consumer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698