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

Unified Diff: remoting/test/test_chromoting_client_unittest.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/test/test_chromoting_client.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/test/test_chromoting_client_unittest.cc
diff --git a/remoting/test/test_chromoting_client_unittest.cc b/remoting/test/test_chromoting_client_unittest.cc
index 3cfc96172c77386192576b9bd6a7edc97eac5601..fef3401b3c5a87a87e8d3f5da775b3a800f6fb81 100644
--- a/remoting/test/test_chromoting_client_unittest.cc
+++ b/remoting/test/test_chromoting_client_unittest.cc
@@ -68,8 +68,8 @@ void TestChromotingClientTest::SetUp() {
// keep the ptr around so we can use it to simulate state changes. It will
// remain valid until |test_chromoting_client_| is destroyed.
fake_connection_to_host_ = new FakeConnectionToHost();
- test_chromoting_client_->SetSignalStrategyForTests(base::WrapUnique(
- new FakeSignalStrategy("test_user@faux_address.com/123")));
+ test_chromoting_client_->SetSignalStrategyForTests(
+ base::MakeUnique<FakeSignalStrategy>("test_user@faux_address.com/123"));
test_chromoting_client_->SetConnectionToHostForTests(
base::WrapUnique(fake_connection_to_host_));
« no previous file with comments | « remoting/test/test_chromoting_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698