libxml2-2.12.patch 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. From 871f8ae9b65ce2679b0bc0be36902d65edf0c1e4 Mon Sep 17 00:00:00 2001
  2. From: Joey Arhar <jarhar@chromium.org>
  3. Date: Thu, 2 Nov 2023 20:45:11 +0000
  4. Subject: [PATCH] Roll libxml from b8961a75 to 7a2d412f
  5. Bug: 934413
  6. Change-Id: I6fb176d76dba9a9adf411395fa5f6b950b52920a
  7. Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4985186
  8. Reviewed-by: David Baron <dbaron@chromium.org>
  9. Commit-Queue: Joey Arhar <jarhar@chromium.org>
  10. Cr-Commit-Position: refs/heads/main@{#1219084}
  11. ---
  12. third_party/blink/renderer/core/xml/xslt_processor.h | 2 +-
  13. third_party/blink/renderer/core/xml/xslt_processor_libxslt.cc | 2 +-
  14. 2 files changed, 2 insertions(+), 2 deletions(-)
  15. diff --git a/third_party/blink/renderer/core/xml/xslt_processor.h b/third_party/blink/renderer/core/xml/xslt_processor.h
  16. index d53835e9675..2eaea31ed29 100644
  17. --- a/third_party/blink/renderer/core/xml/xslt_processor.h
  18. +++ b/third_party/blink/renderer/core/xml/xslt_processor.h
  19. @@ -77,7 +77,7 @@ class XSLTProcessor final : public ScriptWrappable {
  20. void reset();
  21. - static void ParseErrorFunc(void* user_data, xmlError*);
  22. + static void ParseErrorFunc(void* user_data, const xmlError*);
  23. static void GenericErrorFunc(void* user_data, const char* msg, ...);
  24. // Only for libXSLT callbacks
  25. diff --git a/third_party/blink/renderer/core/xml/xslt_processor_libxslt.cc b/third_party/blink/renderer/core/xml/xslt_processor_libxslt.cc
  26. index 133e0b3355d..f424077089d 100644
  27. --- a/third_party/blink/renderer/core/xml/xslt_processor_libxslt.cc
  28. +++ b/third_party/blink/renderer/core/xml/xslt_processor_libxslt.cc
  29. @@ -66,7 +66,7 @@ void XSLTProcessor::GenericErrorFunc(void*, const char*, ...) {
  30. // It would be nice to do something with this error message.
  31. }
  32. -void XSLTProcessor::ParseErrorFunc(void* user_data, xmlError* error) {
  33. +void XSLTProcessor::ParseErrorFunc(void* user_data, const xmlError* error) {
  34. FrameConsole* console = static_cast<FrameConsole*>(user_data);
  35. if (!console)
  36. return;