From: csagan5 <32685696+csagan5@users.noreply.github.com> Date: Sun, 15 Oct 2017 21:45:46 +0200 Subject: Disable references to fonts.googleapis.com License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html --- .../content/browser/dom_distiller_viewer_source.cc | 2 +- components/dom_distiller/core/html/preview.html | 2 +- .../dom_distiller/core/javascript/dom_distiller_viewer.js | 2 +- third_party/crashpad/crashpad/doc/support/crashpad_doxygen.css | 3 +-- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/components/dom_distiller/content/browser/dom_distiller_viewer_source.cc b/components/dom_distiller/content/browser/dom_distiller_viewer_source.cc --- a/components/dom_distiller/content/browser/dom_distiller_viewer_source.cc +++ b/components/dom_distiller/content/browser/dom_distiller_viewer_source.cc @@ -301,7 +301,7 @@ bool DomDistillerViewerSource::ShouldServiceRequest( std::string DomDistillerViewerSource::GetContentSecurityPolicy( network::mojom::CSPDirectiveName directive) { if (directive == network::mojom::CSPDirectiveName::StyleSrc) { - return "style-src 'self' https://fonts.googleapis.com;"; + return "style-src 'self';"; } else if (directive == network::mojom::CSPDirectiveName::ChildSrc) { return "child-src *;"; } else if (directive == diff --git a/components/dom_distiller/core/html/preview.html b/components/dom_distiller/core/html/preview.html --- a/components/dom_distiller/core/html/preview.html +++ b/components/dom_distiller/core/html/preview.html @@ -11,7 +11,7 @@ found in the LICENSE file.