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

Unified Diff: remoting/host/fake_host_extension.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/host/fake_desktop_environment.cc ('k') | remoting/host/ipc_desktop_environment.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/fake_host_extension.cc
diff --git a/remoting/host/fake_host_extension.cc b/remoting/host/fake_host_extension.cc
index c42871ca04539327cd445d1467118b927c39d418..9c64d3bbe2f71523551b63ab1a176e612a87cdc6 100644
--- a/remoting/host/fake_host_extension.cc
+++ b/remoting/host/fake_host_extension.cc
@@ -62,7 +62,7 @@ std::unique_ptr<HostExtensionSession> FakeExtension::CreateExtensionSession(
protocol::ClientStub* client_stub) {
DCHECK(!was_instantiated());
was_instantiated_ = true;
- return base::WrapUnique(new Session(this, message_type_));
+ return base::MakeUnique<Session>(this, message_type_);
}
} // namespace remoting
« no previous file with comments | « remoting/host/fake_desktop_environment.cc ('k') | remoting/host/ipc_desktop_environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698