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

Unified Diff: mojo/android/javatests/init_library.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 | « no previous file | mojo/dart/dart_snapshotter/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/android/javatests/init_library.cc
diff --git a/mojo/android/javatests/init_library.cc b/mojo/android/javatests/init_library.cc
index 92d11d99bb3d85b42b0bc6031b457531bc955a11..3cfff9d75048a11965b1b7f3250176a55d1653c8 100644
--- a/mojo/android/javatests/init_library.cc
+++ b/mojo/android/javatests/init_library.cc
@@ -28,7 +28,8 @@ bool RegisterJNI(JNIEnv* env) {
}
bool Init() {
- 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()));
return true;
}
« no previous file with comments | « no previous file | mojo/dart/dart_snapshotter/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698