| Index: mojo/services/test_service/test_service_application.cc
|
| diff --git a/mojo/services/test_service/test_service_application.cc b/mojo/services/test_service/test_service_application.cc
|
| index 7fd16fadbe5b593334a273c5eedbeab0ab5d404d..1f1cfe6bfd987fac99ca02596ac48bcc3d5209cd 100644
|
| --- a/mojo/services/test_service/test_service_application.cc
|
| +++ b/mojo/services/test_service/test_service_application.cc
|
| @@ -5,6 +5,7 @@
|
| #include "mojo/services/test_service/test_service_application.h"
|
|
|
| #include <assert.h>
|
| +#include <utility>
|
|
|
| #include "mojo/application/public/cpp/application_connection.h"
|
| #include "mojo/application/public/cpp/application_runner.h"
|
| @@ -35,13 +36,13 @@ bool TestServiceApplication::ConfigureIncomingConnection(
|
|
|
| void TestServiceApplication::Create(ApplicationConnection* connection,
|
| InterfaceRequest<TestService> request) {
|
| - new TestServiceImpl(app_impl_, this, request.Pass());
|
| + new TestServiceImpl(app_impl_, this, std::move(request));
|
| AddRef();
|
| }
|
|
|
| void TestServiceApplication::Create(ApplicationConnection* connection,
|
| InterfaceRequest<TestTimeService> request) {
|
| - new TestTimeServiceImpl(app_impl_, request.Pass());
|
| + new TestTimeServiceImpl(app_impl_, std::move(request));
|
| }
|
|
|
| void TestServiceApplication::AddRef() {
|
|
|