| Index: mojo/public/cpp/bindings/lib/associated_group_controller.cc
|
| diff --git a/mojo/public/cpp/bindings/lib/associated_group_controller.cc b/mojo/public/cpp/bindings/lib/associated_group_controller.cc
|
| index 78af40a2a4e5990784fe750165cda021c8cf6da2..f4a9aa2852aa27d55c90bfa322d9d888faa1f0bd 100644
|
| --- a/mojo/public/cpp/bindings/lib/associated_group_controller.cc
|
| +++ b/mojo/public/cpp/bindings/lib/associated_group_controller.cc
|
| @@ -10,18 +10,15 @@ namespace mojo {
|
|
|
| AssociatedGroupController::~AssociatedGroupController() {}
|
|
|
| -std::unique_ptr<AssociatedGroup>
|
| -AssociatedGroupController::CreateAssociatedGroup() {
|
| - std::unique_ptr<AssociatedGroup> group(new AssociatedGroup);
|
| - group->controller_ = this;
|
| - return group;
|
| +ScopedInterfaceEndpointHandle
|
| +AssociatedGroupController::CreateScopedInterfaceEndpointHandle(InterfaceId id) {
|
| + return ScopedInterfaceEndpointHandle(id, this);
|
| }
|
|
|
| -ScopedInterfaceEndpointHandle
|
| -AssociatedGroupController::CreateScopedInterfaceEndpointHandle(
|
| - InterfaceId id,
|
| - bool is_local) {
|
| - return ScopedInterfaceEndpointHandle(id, is_local, this);
|
| +bool AssociatedGroupController::NotifyAssociation(
|
| + ScopedInterfaceEndpointHandle* handle_to_send,
|
| + InterfaceId id) {
|
| + return handle_to_send->NotifyAssociation(id, this);
|
| }
|
|
|
| } // namespace mojo
|
|
|