[webkit-changes] [WebKit/WebKit] e47782: Use CheckedPtr for nodes in XMLDocumentParser

Chris Dumez noreply at github.com
Mon Aug 19 08:09:26 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e477825ea199b65bfa70684c94facfdc64047a84
      https://github.com/WebKit/WebKit/commit/e477825ea199b65bfa70684c94facfdc64047a84
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-08-19 (Mon, 19 Aug 2024)

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

  Log Message:
  -----------
  Use CheckedPtr for nodes in XMLDocumentParser
https://bugs.webkit.org/show_bug.cgi?id=278302

Reviewed by Ryosuke Niwa.

Use CheckedPtr for nodes in XMLDocumentParser, instead of raw pointers.

* Source/WebCore/xml/parser/XMLDocumentParser.cpp:
(WebCore::XMLDocumentParser::pushCurrentNode):
(WebCore::XMLDocumentParser::popCurrentNode):
* Source/WebCore/xml/parser/XMLDocumentParser.h:
* Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp:
(WebCore::XMLDocumentParser::startElementNs):
(WebCore::XMLDocumentParser::endElementNs):

Canonical link: https://commits.webkit.org/282427@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