| Index: shell/shell_apptest.cc
|
| diff --git a/shell/shell_apptest.cc b/shell/shell_apptest.cc
|
| index 7f64883422096caccdaf53e4c22650610c09d12a..42a55478697821b94d24db9672237b681ca84b6a 100644
|
| --- a/shell/shell_apptest.cc
|
| +++ b/shell/shell_apptest.cc
|
| @@ -224,13 +224,15 @@ void TestApplicationConnector(mojo::ApplicationConnector* app_connector) {
|
|
|
| TEST_F(ShellAppTest, ApplicationConnector) {
|
| mojo::ApplicationConnectorPtr app_connector;
|
| - app_connector.Bind(application_impl()->CreateApplicationConnector());
|
| + app_connector.Bind(
|
| + mojo::CreateApplicationConnector(application_impl()->shell()));
|
| TestApplicationConnector(app_connector.get());
|
| }
|
|
|
| TEST_F(ShellAppTest, ApplicationConnectorDuplicate) {
|
| mojo::ApplicationConnectorPtr app_connector1;
|
| - app_connector1.Bind(application_impl()->CreateApplicationConnector());
|
| + app_connector1.Bind(
|
| + mojo::CreateApplicationConnector(application_impl()->shell()));
|
| {
|
| SCOPED_TRACE("app_connector1");
|
| TestApplicationConnector(app_connector1.get());
|
|
|