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

Unified Diff: remoting/host/pairing_registry_delegate_linux.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
Index: remoting/host/pairing_registry_delegate_linux.cc
diff --git a/remoting/host/pairing_registry_delegate_linux.cc b/remoting/host/pairing_registry_delegate_linux.cc
index 53eaf77c539cfea935d32bcc5f703a2d7fa828de..3cae6f7570a003052c572a4399f7d66aa7bc3dd0 100644
--- a/remoting/host/pairing_registry_delegate_linux.cc
+++ b/remoting/host/pairing_registry_delegate_linux.cc
@@ -159,7 +159,7 @@ void PairingRegistryDelegateLinux::SetRegistryPathForTesting(
}
std::unique_ptr<PairingRegistry::Delegate> CreatePairingRegistryDelegate() {
- return base::WrapUnique(new PairingRegistryDelegateLinux());
+ return base::MakeUnique<PairingRegistryDelegateLinux>();
}
} // namespace remoting
« no previous file with comments | « remoting/host/mouse_cursor_monitor_proxy_unittest.cc ('k') | remoting/host/pairing_registry_delegate_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698