[webkit-changes] [WebKit/WebKit] 97f82b: Deploy more smart pointers in AbortSignal.cpp, Bro...

Ryosuke Niwa noreply at github.com
Fri Nov 10 19:38:31 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 97f82b70814b67345cccae647532a24ca210b4d4
      https://github.com/WebKit/WebKit/commit/97f82b70814b67345cccae647532a24ca210b4d4
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2023-11-10 (Fri, 10 Nov 2023)

  Changed paths:
    M Source/WebCore/dom/AbortSignal.cpp
    M Source/WebCore/dom/BroadcastChannel.cpp
    M Source/WebCore/dom/NodeRareData.h
    M Source/WebCore/dom/Range.cpp

  Log Message:
  -----------
  Deploy more smart pointers in AbortSignal.cpp, BroadcastChannel.cpp, NodeRareData.h, and Range.cpp
https://bugs.webkit.org/show_bug.cgi?id=264624

Reviewed by Chris Dumez.

Deploy smart pointers as warned by the clang static analyzer.

* Source/WebCore/dom/AbortSignal.cpp:
(WebCore::AbortSignal::throwIfAborted):
* Source/WebCore/dom/BroadcastChannel.cpp:
(WebCore::BroadcastChannel::MainThreadBridge::MainThreadBridge):
* Source/WebCore/dom/NodeRareData.h:
(WebCore::NodeListsNodeData::removeChildNodeList):
(WebCore::NodeListsNodeData::removeEmptyChildNodeList):
* Source/WebCore/dom/Range.cpp:
(WebCore::Range::processContents):
(WebCore::Range::surroundContents):
(WebCore::boundaryTextNodesSplit):

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




More information about the webkit-changes mailing list