libxml2-2.12.patch 1.3 KB

1234567891011121314151617181920212223242526
  1. diff --git a/third_party/blink/renderer/core/xml/xslt_processor.h b/third_party/blink/renderer/core/xml/xslt_processor.h
  2. index d53835e9675793..2eaea31ed29b90 100644
  3. --- a/third_party/blink/renderer/core/xml/xslt_processor.h
  4. +++ b/third_party/blink/renderer/core/xml/xslt_processor.h
  5. @@ -77,7 +77,7 @@ class XSLTProcessor final : public ScriptWrappable {
  6. void reset();
  7. - static void ParseErrorFunc(void* user_data, xmlError*);
  8. + static void ParseErrorFunc(void* user_data, const xmlError*);
  9. static void GenericErrorFunc(void* user_data, const char* msg, ...);
  10. // Only for libXSLT callbacks
  11. diff --git a/third_party/blink/renderer/core/xml/xslt_processor_libxslt.cc b/third_party/blink/renderer/core/xml/xslt_processor_libxslt.cc
  12. index 133e0b3355d2f0..f424077089da87 100644
  13. --- a/third_party/blink/renderer/core/xml/xslt_processor_libxslt.cc
  14. +++ b/third_party/blink/renderer/core/xml/xslt_processor_libxslt.cc
  15. @@ -66,7 +66,7 @@ void XSLTProcessor::GenericErrorFunc(void*, const char*, ...) {
  16. // It would be nice to do something with this error message.
  17. }
  18. -void XSLTProcessor::ParseErrorFunc(void* user_data, xmlError* error) {
  19. +void XSLTProcessor::ParseErrorFunc(void* user_data, const xmlError* error) {
  20. FrameConsole* console = static_cast<FrameConsole*>(user_data);
  21. if (!console)
  22. return;