[webkit-changes] [WebKit/WebKit] ac6076: Stop using CheckedPtr for ElementIteratorAssertion...

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


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

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

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

Reviewed by Ryosuke Niwa.

Stop using CheckedPtr for ElementIteratorAssertions::m_document. We avoid using
CheckedPtr for non-stack variables and it may cause non-actionable crashes.

Use WeakPtr instead.

* Source/WebCore/dom/ElementIteratorAssertions.h:

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




More information about the webkit-changes mailing list