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

Unified Diff: remoting/host/pairing_registry_delegate.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/host/pairing_registry_delegate.h ('k') | remoting/host/pairing_registry_delegate_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/pairing_registry_delegate.cc
diff --git a/remoting/host/pairing_registry_delegate.cc b/remoting/host/pairing_registry_delegate.cc
index a9596b0b02fffdcd0a82c5695a5c2dab05651040..cf5a102ebd97566b9f0efd9cf8e43d3c3d4e4091 100644
--- a/remoting/host/pairing_registry_delegate.cc
+++ b/remoting/host/pairing_registry_delegate.cc
@@ -15,7 +15,7 @@ using protocol::PairingRegistry;
scoped_refptr<PairingRegistry> CreatePairingRegistry(
scoped_refptr<base::SingleThreadTaskRunner> task_runner) {
scoped_refptr<PairingRegistry> pairing_registry;
- scoped_ptr<PairingRegistry::Delegate> delegate(
+ std::unique_ptr<PairingRegistry::Delegate> delegate(
CreatePairingRegistryDelegate());
if (delegate) {
pairing_registry = new PairingRegistry(task_runner, std::move(delegate));
« no previous file with comments | « remoting/host/pairing_registry_delegate.h ('k') | remoting/host/pairing_registry_delegate_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698