[webkit-changes] [WebKit/WebKit] 64171d: Stop using a CheckedPtr for Event::m_eventPath

Chris Dumez noreply at github.com
Fri Jan 12 08:59:23 PST 2024


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

  Changed paths:
    M Source/WebCore/dom/Event.h
    M Source/WebCore/dom/EventPath.h

  Log Message:
  -----------
  Stop using a CheckedPtr for Event::m_eventPath
https://bugs.webkit.org/show_bug.cgi?id=267441

Reviewed by Ryosuke Niwa.

Stop using a CheckedPtr for Event::m_eventPath. Use a WeakPtr instead to generate more actionable crashes.
This tested as performance neutral on Speedometer 2 & 3.

* Source/WebCore/dom/Event.h:
* Source/WebCore/dom/EventPath.h:

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




More information about the webkit-changes mailing list