aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_blink_renderer_core_xml_xslt__processor.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-third__party_blink_renderer_core_xml_xslt__processor.h')
-rw-r--r--www/chromium/files/patch-third__party_blink_renderer_core_xml_xslt__processor.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/www/chromium/files/patch-third__party_blink_renderer_core_xml_xslt__processor.h b/www/chromium/files/patch-third__party_blink_renderer_core_xml_xslt__processor.h
new file mode 100644
index 000000000000..d2cf5dab1c60
--- /dev/null
+++ b/www/chromium/files/patch-third__party_blink_renderer_core_xml_xslt__processor.h
@@ -0,0 +1,14 @@
+--- third_party/blink/renderer/core/xml/xslt_processor.h.orig 2024-01-30 07:53:34 UTC
++++ third_party/blink/renderer/core/xml/xslt_processor.h
+@@ -77,7 +77,11 @@ class XSLTProcessor final : public ScriptWrappable {
+
+ void reset();
+
++#if (LIBXML_VERSION > 21106)
+ static void ParseErrorFunc(void* user_data, const xmlError*);
++#else
++ static void ParseErrorFunc(void* user_data, xmlError*);
++#endif
+ static void GenericErrorFunc(void* user_data, const char* msg, ...);
+
+ // Only for libXSLT callbacks