www-client/chromium: update patch
authorMike Gilbert <floppym@gentoo.org>
Wed, 20 Jun 2018 15:33:19 +0000 (11:33 -0400)
committerMike Gilbert <floppym@gentoo.org>
Wed, 20 Jun 2018 21:46:35 +0000 (17:46 -0400)
www-client/chromium/files/chromium-disable_xml_catalogs.patch

index 7aff36c782a36b613cc9e8976b5b0f0f249cc634..9f57ed2261c7cff2636756300e596b7d1ce7bf91 100644 (file)
  #include <libxslt/xslt.h>
  
  #include <memory>
-@@ -538,10 +542,6 @@
- static bool ShouldAllowExternalLoad(const KURL& url) {
-   String url_string = url.GetString();
--  // libxml should not be configured with catalogs enabled, so it
--  // should not be asking to load default catalogs.
--  CHECK(!IsLibxmlDefaultCatalogFile(url));
--
-   // The most common DTD. There isn't much point in hammering www.w3c.org by
-   // requesting this URL for every XHTML document.
-   if (url_string.StartsWithIgnoringASCIICase("http://www.w3.org/TR/xhtml"))
-@@ -648,6 +648,9 @@
+@@ -648,6 +652,9 @@ static void InitializeLibXMLIfNecessary() {
    if (did_init)
      return;