diff options
Diffstat (limited to 'chrome/browser/child_process_security_policy.cc')
-rw-r--r-- | chrome/browser/child_process_security_policy.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/child_process_security_policy.cc b/chrome/browser/child_process_security_policy.cc index b3ba538..20130e7 100644 --- a/chrome/browser/child_process_security_policy.cc +++ b/chrome/browser/child_process_security_policy.cc @@ -232,6 +232,9 @@ void ChildProcessSecurityPolicy::GrantDOMUIBindings(int renderer_id) { // DOM UI bindings need the ability to request chrome: URLs. state->second->GrantScheme(chrome::kChromeUIScheme); + // DOM UI bindings need the ability to request print: URLs. + state->second->GrantScheme(chrome::kPrintScheme); + // DOM UI pages can contain links to file:// URLs. state->second->GrantScheme(chrome::kFileScheme); } |