Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(278)

Unified Diff: components/html_viewer/media_factory.cc

Issue 1244233002: Allow trusted brokers to restrict connections for spawned applications to whitelisted applications … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/html_viewer/media_factory.cc
diff --git a/components/html_viewer/media_factory.cc b/components/html_viewer/media_factory.cc
index 40a6696d9b9aec9dade60fe1927b6586f454917a..312a1624b74e2cc3ddcbc54b02ab6ae7a6e6d61b 100644
--- a/components/html_viewer/media_factory.cc
+++ b/components/html_viewer/media_factory.cc
@@ -120,7 +120,7 @@ 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);
mojo::ConnectToService(service_provider.get(), &media_service_factory_);
}

Powered by Google App Engine
This is Rietveld 408576698