[webkit-changes] [WebKit/WebKit] e734aa: Use the enum class in ErrorType at XMLErrors

Alexsander Borges Damaceno noreply at github.com
Sat Jan 18 08:48:24 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e734aaf3a805927c3e9676e2ecdb3aebdf1319b4
      https://github.com/WebKit/WebKit/commit/e734aaf3a805927c3e9676e2ecdb3aebdf1319b4
  Author: Alexsander Damaceno <aemgbo at gmail.com>
  Date:   2025-01-18 (Sat, 18 Jan 2025)

  Changed paths:
    M Source/WebCore/xml/XMLErrors.cpp
    M Source/WebCore/xml/XMLErrors.h
    M Source/WebCore/xml/parser/XMLDocumentParser.cpp
    M Source/WebCore/xml/parser/XMLDocumentParser.h
    M Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp

  Log Message:
  -----------
  Use the enum class in ErrorType at XMLErrors
https://bugs.webkit.org/show_bug.cgi?id=285331

Reviewed by Charlie Wolfe.

Use the enum class in ErrorType at XMLErrors

* Source/WebCore/xml/XMLErrors.cpp:
(WebCore::XMLErrors::handleError):
* Source/WebCore/xml/XMLErrors.h:
* Source/WebCore/xml/parser/XMLDocumentParser.cpp:
(WebCore::XMLDocumentParser::pushCurrentNode):
(WebCore::XMLDocumentParser::handleError):
* Source/WebCore/xml/parser/XMLDocumentParser.h:
* Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp:
(WebCore::XMLDocumentParser::doWrite):
(WebCore::warningHandler):
(WebCore::fatalErrorHandler):
(WebCore::normalErrorHandler):

Canonical link: https://commits.webkit.org/289106@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list