Index: services/authentication/dummy_authentication_app.cc |
diff --git a/services/authentication/dummy_authentication_app.cc b/services/authentication/dummy_authentication_app.cc |
index b98c15e54715e17f8fb3324027fe2ddd849f5439..a829b74e936c1cba0f7543b8e5fe3142d9905917 100644 |
--- a/services/authentication/dummy_authentication_app.cc |
+++ b/services/authentication/dummy_authentication_app.cc |
@@ -2,6 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include <memory> |
+ |
#include "mojo/common/binding_set.h" |
#include "mojo/public/c/system/main.h" |
#include "mojo/public/cpp/application/application_connection.h" |
@@ -57,6 +59,7 @@ class DummyAuthenticationApplication |
MojoResult MojoMain(MojoHandle application_request) { |
mojo::ApplicationRunner runner( |
- new authentication::DummyAuthenticationApplication); |
+ std::unique_ptr<authentication::DummyAuthenticationApplication>( |
+ new authentication::DummyAuthenticationApplication())); |
return runner.Run(application_request); |
} |