| 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 f08e1833e0d00e47f6b0a95703ef6cbcaed80b93..17fed3e0c74a5740abc927ec2c32e50c836d5ad0 100644
|
| --- a/mojo/services/test_service/test_service_application.cc
|
| +++ b/mojo/services/test_service/test_service_application.cc
|
| @@ -32,11 +32,12 @@ bool TestServiceApplication::ConfigureIncomingConnection(
|
| void TestServiceApplication::Create(ApplicationConnection* connection,
|
| InterfaceRequest<TestService> request) {
|
| BindToRequest(new TestServiceImpl(connection, this), &request);
|
| + AddRef();
|
| }
|
|
|
| void TestServiceApplication::Create(ApplicationConnection* connection,
|
| InterfaceRequest<TestTimeService> request) {
|
| - BindToRequest(new TestTimeServiceImpl(connection), &request);
|
| + new TestTimeServiceImpl(connection, request.Pass());
|
| }
|
|
|
| void TestServiceApplication::AddRef() {
|
|
|