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

Unified Diff: remoting/signaling/server_log_entry.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/protocol/webrtc_transport.cc ('k') | remoting/signaling/xmpp_signal_strategy_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/signaling/server_log_entry.cc
diff --git a/remoting/signaling/server_log_entry.cc b/remoting/signaling/server_log_entry.cc
index 421edc38f1091cc7c28c278db0cd358fbc358d98..aa8651f9d1d23e251727b8c4cb128e03cbb0dfd0 100644
--- a/remoting/signaling/server_log_entry.cc
+++ b/remoting/signaling/server_log_entry.cc
@@ -74,8 +74,8 @@ void ServerLogEntry::AddEventNameField(const char* name) {
// static
std::unique_ptr<XmlElement> ServerLogEntry::MakeStanza() {
- return base::WrapUnique(
- new XmlElement(QName(kChromotingXmlNamespace, kLogCommand)));
+ return base::MakeUnique<XmlElement>(
+ QName(kChromotingXmlNamespace, kLogCommand));
}
std::unique_ptr<XmlElement> ServerLogEntry::ToStanza() const {
« no previous file with comments | « remoting/protocol/webrtc_transport.cc ('k') | remoting/signaling/xmpp_signal_strategy_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698