Index: mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.cc |
diff --git a/mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.cc b/mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.cc |
index cc04f04e61abfc293c573b8da05681f0e4a01c6a..860beb57c3b8982f2b90e0151fe028722e731789 100644 |
--- a/mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.cc |
+++ b/mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.cc |
@@ -199,9 +199,8 @@ |
Id view_id, |
ServiceProviderPtr service_provider) { |
DCHECK(connected_); |
- service_->Embed(url, view_id, |
- MakeRequest<ServiceProvider>(service_provider.PassMessagePipe()), |
- ActionCompletedCallback()); |
+ service_->Embed(url, view_id, service_provider.Pass(), |
+ ActionCompletedCallback()); |
} |
void ViewManagerClientImpl::AddView(View* view) { |