[webkit-changes] [WebKit/WebKit] 232b24: Stop using a CheckedPtr for DocumentParser::m_docu...

Chris Dumez noreply at github.com
Thu Jan 11 09:11:44 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 232b24cdfded81e928c79199aee3190178b47d5e
      https://github.com/WebKit/WebKit/commit/232b24cdfded81e928c79199aee3190178b47d5e
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-01-11 (Thu, 11 Jan 2024)

  Changed paths:
    M Source/WebCore/dom/DocumentParser.h

  Log Message:
  -----------
  Stop using a CheckedPtr for DocumentParser::m_document
https://bugs.webkit.org/show_bug.cgi?id=267371

Reviewed by Darin Adler.

Stop using a CheckedPtr for DocumentParser::m_document. CheckedPtr should only
be used on the stack or crash generated are not actionable.

Use WeakPtr instead.

* Source/WebCore/dom/DocumentParser.h:

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




More information about the webkit-changes mailing list