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

Unified Diff: components/dom_distiller/content/dom_distiller_viewer_source.cc

Issue 443343002: [dom_distiller] Fix viewer to use Open Sans webfont. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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
« no previous file with comments | « no previous file | components/dom_distiller/content/resources/dom_distiller_viewer.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/dom_distiller/content/dom_distiller_viewer_source.cc
diff --git a/components/dom_distiller/content/dom_distiller_viewer_source.cc b/components/dom_distiller/content/dom_distiller_viewer_source.cc
index 964794e7e40da536a2869a2cb3cba6a95d7cdfb9..39f76bd17f260378cc06b8764c615a6374001882 100644
--- a/components/dom_distiller/content/dom_distiller_viewer_source.cc
+++ b/components/dom_distiller/content/dom_distiller_viewer_source.cc
@@ -329,7 +329,7 @@ void DomDistillerViewerSource::WillServiceRequest(
std::string DomDistillerViewerSource::GetContentSecurityPolicyObjectSrc()
const {
- return "object-src 'none'; style-src 'self';";
+ return "object-src 'none'; style-src 'self' https://fonts.googleapis.com;";
}
} // namespace dom_distiller
« no previous file with comments | « no previous file | components/dom_distiller/content/resources/dom_distiller_viewer.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698