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

Unified Diff: chromecast/base/cast_sys_info_util_simple.cc

Issue 1875623002: Convert //chromecast from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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_util.h ('k') | chromecast/base/component/component_unittest.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 68ab9dffb2c233c7afc3845c30cf85c73aaf1274..0eb54a41aedcc7c6f347134aa2425280c69decf3 100644
--- a/chromecast/base/cast_sys_info_util_simple.cc
+++ b/chromecast/base/cast_sys_info_util_simple.cc
@@ -4,13 +4,14 @@
#include "chromecast/base/cast_sys_info_util.h"
+#include "base/memory/ptr_util.h"
#include "chromecast/base/cast_sys_info_dummy.h"
namespace chromecast {
// static
-scoped_ptr<CastSysInfo> CreateSysInfo() {
- return make_scoped_ptr(new CastSysInfoDummy());
+std::unique_ptr<CastSysInfo> CreateSysInfo() {
+ return base::WrapUnique(new CastSysInfoDummy());
}
} // namespace chromecast
« no previous file with comments | « chromecast/base/cast_sys_info_util.h ('k') | chromecast/base/component/component_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698