[webkit-changes] [WebKit/WebKit] d39420: Deploy more smart pointers in MessagePort.cpp, Mic...
Ryosuke Niwa
noreply at github.com
Thu Nov 16 10:01:36 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d39420f4e4639006dc66fa02d332072d6dfc5139
https://github.com/WebKit/WebKit/commit/d39420f4e4639006dc66fa02d332072d6dfc5139
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2023-11-16 (Thu, 16 Nov 2023)
Changed paths:
M Source/WebCore/dom/MessagePort.cpp
M Source/WebCore/dom/Microtasks.cpp
M Source/WebCore/dom/MouseEvent.cpp
M Source/WebCore/dom/MutationObserverInterestGroup.cpp
Log Message:
-----------
Deploy more smart pointers in MessagePort.cpp, Microtasks.cpp, MouseEvent.cpp, and MutationObserverInterestGroup.cpp
https://bugs.webkit.org/show_bug.cgi?id=264795
Reviewed by Chris Dumez.
Deploy smart pointers as warned by the clang static analyzer.
* Source/WebCore/dom/MessagePort.cpp:
(WebCore::MessagePort::entangle):
(WebCore::MessagePort::postMessage):
(WebCore::MessagePort::dispatchMessages):
(WebCore::MessagePort::dispatchEvent):
* Source/WebCore/dom/Microtasks.cpp:
(WebCore::MicrotaskQueue::performMicrotaskCheckpoint):
* Source/WebCore/dom/MouseEvent.cpp:
(WebCore::MouseEvent::initMouseEventQuirk):
* Source/WebCore/dom/MutationObserverInterestGroup.cpp:
(WebCore::MutationObserverInterestGroup::enqueueMutationRecord):
Canonical link: https://commits.webkit.org/270832@main
More information about the webkit-changes
mailing list