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

Unified Diff: chromecast/base/cast_sys_info_util_simple.cc

Issue 2258493003: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « chromecast/base/cast_sys_info_android.cc ('k') | chromecast/base/device_capabilities_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/base/cast_sys_info_util_simple.cc
diff --git a/chromecast/base/cast_sys_info_util_simple.cc b/chromecast/base/cast_sys_info_util_simple.cc
index 0eb54a41aedcc7c6f347134aa2425280c69decf3..6f384b4617cb1b4ae756ce68f0f87aef985939ff 100644
--- a/chromecast/base/cast_sys_info_util_simple.cc
+++ b/chromecast/base/cast_sys_info_util_simple.cc
@@ -11,7 +11,7 @@ namespace chromecast {
// static
std::unique_ptr<CastSysInfo> CreateSysInfo() {
- return base::WrapUnique(new CastSysInfoDummy());
+ return base::MakeUnique<CastSysInfoDummy>();
}
} // namespace chromecast
« no previous file with comments | « chromecast/base/cast_sys_info_android.cc ('k') | chromecast/base/device_capabilities_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698