commit | 4eb9ad614c00ecde0a19731094ee081ca2e54e0b | [log] [tgz] |
---|---|---|
author | Sergey Ulanov <[email protected]> | Fri Jul 06 00:15:02 2018 |
committer | Commit Bot <[email protected]> | Fri Jul 06 00:15:02 2018 |
tree | 54d46fadd3015a274f214b95fb2be1362215e86b | |
parent | be55b8076e634feab6934e55dcb4c660ea112188 [diff] [blame] |
[Fuchsia] Allow FontProvider access in renderers. Use it. ChildProcessLauncherHelper now uses fuchsia::ServiceDirectoryProxy to allow renderers access FontProvicer service. Also enabled FuchsiaFontManager to be used by default. Bug: 800156 Change-Id: I49336251c958a5fb4d74a0b933e9bbc62ea88f9f Reviewed-on: https://chromium-review.googlesource.com/1117872 Commit-Queue: Sergey Ulanov <[email protected]> Reviewed-by: Wez <[email protected]> Reviewed-by: Nico Weber <[email protected]> Reviewed-by: Nasko Oskov <[email protected]> Cr-Commit-Position: refs/heads/master@{#572873}
diff --git a/content/browser/child_process_launcher_helper_fuchsia.cc b/content/browser/child_process_launcher_helper_fuchsia.cc index 8e55b5f..c834ebd 100644 --- a/content/browser/child_process_launcher_helper_fuchsia.cc +++ b/content/browser/child_process_launcher_helper_fuchsia.cc
@@ -54,6 +54,8 @@ void ChildProcessLauncherHelper::BeforeLaunchOnClientThread() { DCHECK_CURRENTLY_ON(client_thread_id_); + + sandbox_policy_.Initialize(delegate_->GetSandboxType()); } base::Optional<mojo::NamedPlatformChannel> @@ -75,7 +77,8 @@ mojo_channel_->PrepareToPassRemoteEndpoint(&options->handles_to_transfer, command_line()); - UpdateLaunchOptionsForSandbox(delegate_->GetSandboxType(), options); + sandbox_policy_.UpdateLaunchOptionsForSandbox(options); + return true; }