Index: mash/session/session.cc |
diff --git a/mash/session/session.cc b/mash/session/session.cc |
index c739db0c3400a4051ceeb7b1c1dae87aa323050c..0e5a142dc34befb699119ec9eb8e793da0a51581 100644 |
--- a/mash/session/session.cc |
+++ b/mash/session/session.cc |
@@ -125,7 +125,7 @@ void Session::StartRestartableService( |
const base::Closure& restart_callback) { |
// TODO(beng): This would be the place to insert logic that counted restarts |
// to avoid infinite crash-restart loops. |
- scoped_ptr<mojo::Connection> connection = connector_->Connect(url); |
+ std::unique_ptr<mojo::Connection> connection = connector_->Connect(url); |
// Note: |connection| may be null if we've lost our connection to the shell. |
if (connection) { |
connection->SetConnectionLostClosure(restart_callback); |