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

Unified Diff: mojo/nacl/monacl_shell.cc

Issue 1351293002: Convert remaining scoped_ptr -> std::unique_ptr in //mojo/edk (minus js). (Closed) Base URL: https://github.com/domokit/mojo.git@edk_unique_ptr_5
Patch Set: oops, forgot to fix android Created 5 years, 3 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 | « mojo/edk/system/transport_data.cc ('k') | mojo/nacl/monacl_shell_nonsfi.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/nacl/monacl_shell.cc
diff --git a/mojo/nacl/monacl_shell.cc b/mojo/nacl/monacl_shell.cc
index 714c04f63318a6c4d20eae0c243d5d15bf5374c8..05f25743c1320626250c7887398d334ca2af121c 100644
--- a/mojo/nacl/monacl_shell.cc
+++ b/mojo/nacl/monacl_shell.cc
@@ -35,7 +35,8 @@ int main(int argc, char* argv[]) {
NaClDesc* irt_desc = OpenFile(irt_file);
NaClDesc* nexe_desc = OpenFile(nexe_file);
- mojo::embedder::Init(scoped_ptr<mojo::embedder::PlatformSupport>(
+ // TODO(vtl): Use make_unique when C++14 is available.
+ mojo::embedder::Init(std::unique_ptr<mojo::embedder::PlatformSupport>(
new mojo::embedder::SimplePlatformSupport()));
int exit_code = mojo::LaunchNaCl(nexe_desc, irt_desc, argc - 2, argv + 2,
« no previous file with comments | « mojo/edk/system/transport_data.cc ('k') | mojo/nacl/monacl_shell_nonsfi.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698