[webkit-changes] [WebKit/WebKit] 7dfd4a: Adopt more smart pointers in EventDispatcher

Rupin Mittal noreply at github.com
Wed Feb 12 13:55:15 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7dfd4a9749616e739389cb4409467eff234662d9
      https://github.com/WebKit/WebKit/commit/7dfd4a9749616e739389cb4409467eff234662d9
  Author: Rupin Mittal <rupin at apple.com>
  Date:   2025-02-12 (Wed, 12 Feb 2025)

  Changed paths:
    M Source/WebCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations
    M Source/WebCore/SaferCPPExpectations/UncountedLocalVarsCheckerExpectations
    M Source/WebCore/dom/EventContext.h
    M Source/WebCore/dom/EventDispatcher.cpp
    M Source/WebCore/storage/StorageEventDispatcher.cpp

  Log Message:
  -----------
  Adopt more smart pointers in EventDispatcher
https://bugs.webkit.org/show_bug.cgi?id=287532
rdar://144654844

Reviewed by Chris Dumez.

Smart pointer adoption as per the static analyzer.

* Source/WebCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations:
* Source/WebCore/SaferCPPExpectations/UncountedLocalVarsCheckerExpectations:
* Source/WebCore/dom/EventContext.h:
(WebCore::EventContext::protectedTarget const):
(WebCore::EventContext::protectedRelatedTarget const):
* Source/WebCore/dom/EventDispatcher.cpp:
(WebCore::shouldSuppressEventDispatchInDOM):
(WebCore::findInputElementInEventPath):
(WebCore::EventDispatcher::dispatchEvent):
* Source/WebCore/storage/StorageEventDispatcher.cpp:
(WebCore::dispatchStorageEvents):
(WebCore::StorageEventDispatcher::dispatchLocalStorageEvents):

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