Index: components/html_viewer/media_factory.cc |
diff --git a/components/html_viewer/media_factory.cc b/components/html_viewer/media_factory.cc |
index ebae2524738fac421e35ec38415455f870c7d16e..260df923657f7b982f960f5f3ee30929eaf0caba 100644 |
--- a/components/html_viewer/media_factory.cc |
+++ b/components/html_viewer/media_factory.cc |
@@ -44,6 +44,8 @@ bool AreSecureCodecsSupported() { |
return false; |
} |
+void OnGotContentHandlerID(uint32_t content_handler_id) {} |
+ |
} // namespace |
MediaFactory::MediaFactory( |
@@ -120,7 +122,8 @@ media::interfaces::ServiceFactory* MediaFactory::GetMediaServiceFactory() { |
mojo::URLRequestPtr request(mojo::URLRequest::New()); |
request->url = mojo::String::From("mojo:media"); |
shell_->ConnectToApplication(request.Pass(), GetProxy(&service_provider), |
- nullptr, nullptr); |
+ nullptr, nullptr, |
+ base::Bind(&OnGotContentHandlerID)); |
mojo::ConnectToService(service_provider.get(), &media_service_factory_); |
} |