Index: mandoline/ui/aura/surface_binding.cc |
diff --git a/mandoline/ui/aura/surface_binding.cc b/mandoline/ui/aura/surface_binding.cc |
index 6a2a23611804dff58255475529327d501042d87e..998a810282d301294a03e3b368c851f44364a35d 100644 |
--- a/mandoline/ui/aura/surface_binding.cc |
+++ b/mandoline/ui/aura/surface_binding.cc |
@@ -27,6 +27,9 @@ |
#include "mojo/public/cpp/bindings/binding.h" |
namespace mandoline { |
+namespace { |
+void OnGotContentHandlerID(uint32_t content_handler_id) {} |
+} // namespace |
// PerConnectionState ---------------------------------------------------------- |
@@ -121,10 +124,9 @@ void SurfaceBinding::PerConnectionState::Init() { |
mojo::ServiceProviderPtr service_provider; |
mojo::URLRequestPtr request(mojo::URLRequest::New()); |
request->url = mojo::String::From("mojo:view_manager"); |
- shell_->ConnectToApplication(request.Pass(), |
- GetProxy(&service_provider), |
- nullptr, |
- nullptr); |
+ shell_->ConnectToApplication(request.Pass(), GetProxy(&service_provider), |
+ nullptr, nullptr, |
+ base::Bind(&OnGotContentHandlerID)); |
ConnectToService(service_provider.get(), &gpu_); |
} |