Index: content/child/navigator_connect/service_port_provider.cc |
diff --git a/content/child/navigator_connect/service_port_provider.cc b/content/child/navigator_connect/service_port_provider.cc |
index 5082665ed529759f715ccd55b95b9cb54140b834..d8f9532faf1df72d80e499bca53017278e7d394c 100644 |
--- a/content/child/navigator_connect/service_port_provider.cc |
+++ b/content/child/navigator_connect/service_port_provider.cc |
@@ -124,9 +124,7 @@ ServicePortServicePtr& ServicePortProvider::GetServicePortServicePtr() { |
base::Passed(&request))); |
// Setup channel for browser to post events back to this class. |
- ServicePortServiceClientPtr client_ptr; |
- binding_.Bind(GetProxy(&client_ptr)); |
- service_port_service_->SetClient(std::move(client_ptr)); |
+ service_port_service_->SetClient(binding_.CreateInterfacePtrAndBind()); |
} |
return service_port_service_; |
} |