summaryrefslogtreecommitdiff
path: root/chromium/third_party/libxml/chromium/undo-sax-deprecation.patch
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/libxml/chromium/undo-sax-deprecation.patch')
-rw-r--r--chromium/third_party/libxml/chromium/undo-sax-deprecation.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/chromium/third_party/libxml/chromium/undo-sax-deprecation.patch b/chromium/third_party/libxml/chromium/undo-sax-deprecation.patch
new file mode 100644
index 00000000000..51f68b94ab7
--- /dev/null
+++ b/chromium/third_party/libxml/chromium/undo-sax-deprecation.patch
@@ -0,0 +1,15 @@
+diff --git a/include/libxml/parser.h b/include/libxml/parser.h
+index f96148b5..1587b9d0 100644
+--- a/include/libxml/parser.h
++++ b/include/libxml/parser.h
+@@ -897,7 +897,9 @@ XMLPUBFUN xmlDocPtr XMLCALL
+ xmlSAXParseDoc (xmlSAXHandlerPtr sax,
+ const xmlChar *cur,
+ int recovery);
+-XML_DEPRECATED
++// TODO(https://github.com/google/maldoca/issues/87): Re-Deprecate this when
++// maldoca stops using xmlSAXParseMemory.
++//XML_DEPRECATED
+ XMLPUBFUN xmlDocPtr XMLCALL
+ xmlSAXParseMemory (xmlSAXHandlerPtr sax,
+ const char *buffer,