chromium/chromium-119.0.6045.159-libxml2-2.12.1.patch

23 lines
1.1 KiB
Diff

--- chromium-119.0.6045.159/third_party/blink/renderer/core/xml/xslt_processor.h.orig 2023-11-14 23:56:49.857019200 +0100
+++ chromium-119.0.6045.159/third_party/blink/renderer/core/xml/xslt_processor.h 2023-11-26 15:10:34.596794280 +0100
@@ -77,7 +77,7 @@
void reset();
- static void ParseErrorFunc(void* user_data, xmlError*);
+ static void ParseErrorFunc(void* user_data, const xmlError*);
static void GenericErrorFunc(void* user_data, const char* msg, ...);
// Only for libXSLT callbacks
--- chromium-119.0.6045.159/third_party/blink/renderer/core/xml/xslt_processor_libxslt.cc.orig 2023-11-22 04:34:50.210372204 +0100
+++ chromium-119.0.6045.159/third_party/blink/renderer/core/xml/xslt_processor_libxslt.cc 2023-11-26 15:10:52.177772188 +0100
@@ -66,7 +66,7 @@
// It would be nice to do something with this error message.
}
-void XSLTProcessor::ParseErrorFunc(void* user_data, xmlError* error) {
+void XSLTProcessor::ParseErrorFunc(void* user_data, const xmlError* error) {
FrameConsole* console = static_cast<FrameConsole*>(user_data);
if (!console)
return;