[webkit-changes] [WebKit/WebKit] 015023: Adopt more dynamicDowncast<> in XML code

Anne van Kesteren noreply at github.com
Wed Jan 31 18:27:04 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0150236f7e5d4ff6e0b871a35ea388973bd05972
      https://github.com/WebKit/WebKit/commit/0150236f7e5d4ff6e0b871a35ea388973bd05972
  Author: Anne van Kesteren <annevk at annevk.nl>
  Date:   2024-01-31 (Wed, 31 Jan 2024)

  Changed paths:
    M Source/WebCore/xml/XPathFunctions.cpp
    M Source/WebCore/xml/XPathStep.cpp
    M Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp

  Log Message:
  -----------
  Adopt more dynamicDowncast<> in XML code
https://bugs.webkit.org/show_bug.cgi?id=268460

Reviewed by Chris Dumez.

* Source/WebCore/xml/XPathFunctions.cpp:
(WebCore::XPath::expandedNameLocalPart):
(WebCore::XPath::expandedName):
(WebCore::XPath::FunLocalName::evaluate const):
(WebCore::XPath::FunName::evaluate const):
(WebCore::XPath::FunLang::evaluate const):
* Source/WebCore/xml/XPathStep.cpp:
(WebCore::XPath::nodeMatchesBasicTest):
(WebCore::XPath::Step::nodesInAxis const):
* Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp:
(WebCore::XMLDocumentParser::startElementNs):

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




More information about the webkit-changes mailing list