Index: mash/init/init.cc |
diff --git a/mash/init/init.cc b/mash/init/init.cc |
index 118482a90500e12565e92571158a2d88b6a362dc..a0ecb2ea5dd9b02562251d2296944d4e396d13a0 100644 |
--- a/mash/init/init.cc |
+++ b/mash/init/init.cc |
@@ -37,7 +37,7 @@ void Init::StartService(const mojo::String& name, |
const mojo::String& user_id) { |
if (user_services_.find(user_id) == user_services_.end()) { |
mojo::Connector::ConnectParams params(mojo::Identity(name, user_id)); |
- scoped_ptr<mojo::Connection> connection = connector_->Connect(¶ms); |
+ std::unique_ptr<mojo::Connection> connection = connector_->Connect(¶ms); |
connection->SetConnectionLostClosure( |
base::Bind(&Init::UserServiceQuit, base::Unretained(this), user_id)); |
user_services_[user_id] = std::move(connection); |