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

Unified Diff: remoting/protocol/authenticator.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/protocol/authenticator.cc
diff --git a/remoting/protocol/authenticator.cc b/remoting/protocol/authenticator.cc
index 372bb1aeb06852ca5fa38f79804757a467569b42..1b029c67a254a1abdc6cbf6d85636fb700af5c26 100644
--- a/remoting/protocol/authenticator.cc
+++ b/remoting/protocol/authenticator.cc
@@ -24,7 +24,7 @@ bool Authenticator::IsAuthenticatorMessage(const buzz::XmlElement* message) {
// static
std::unique_ptr<buzz::XmlElement>
Authenticator::CreateEmptyAuthenticatorMessage() {
- return base::WrapUnique(new buzz::XmlElement(kAuthenticationQName));
+ return base::MakeUnique<buzz::XmlElement>(kAuthenticationQName);
}
// static
« no previous file with comments | « remoting/host/win/session_desktop_environment.cc ('k') | remoting/protocol/chromium_port_allocator_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698