| Index: mojo/shell/connect_util.h
|
| diff --git a/mojo/shell/connect_util.h b/mojo/shell/connect_util.h
|
| index 036ecde919eec16295e6c491f29c343cc7a95411..baa4d2ee832c3fa48836e61ff45d69c317c9e803 100644
|
| --- a/mojo/shell/connect_util.h
|
| +++ b/mojo/shell/connect_util.h
|
| @@ -10,6 +10,7 @@
|
| #include "mojo/public/cpp/bindings/interface_ptr.h"
|
| #include "mojo/public/cpp/system/handle.h"
|
| #include "mojo/shell/identity.h"
|
| +#include "mojo/shell/public/interfaces/shell.mojom.h"
|
|
|
| class GURL;
|
|
|
| @@ -44,7 +45,8 @@ inline void ConnectToInterface(ApplicationManager* application_manager,
|
| InterfacePtr<Interface>* ptr) {
|
| ScopedMessagePipeHandle service_handle = ConnectToInterfaceByName(
|
| application_manager, source,
|
| - Identity(application_url, std::string(), GetPermissiveCapabilityFilter()),
|
| + Identity(application_url, std::string(), mojom::Shell::kUserInherit,
|
| + GetPermissiveCapabilityFilter()),
|
| Interface::Name_);
|
| ptr->Bind(InterfacePtrInfo<Interface>(std::move(service_handle), 0u));
|
| }
|
|
|