[webkit-changes] [WebKit/WebKit] 13add0: Deploy smart pointers in DeviceOrientationAndMotio...

Ryosuke Niwa noreply at github.com
Wed Nov 15 00:03:34 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 13add0386bd884ecf80d1a1386a19b4e5dd3c995
      https://github.com/WebKit/WebKit/commit/13add0386bd884ecf80d1a1386a19b4e5dd3c995
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2023-11-15 (Wed, 15 Nov 2023)

  Changed paths:
    M Source/WebCore/dom/DeviceOrientationAndMotionAccessController.cpp
    M Source/WebCore/dom/DeviceOrientationController.cpp
    M Source/WebCore/dom/DocumentStorageAccess.cpp
    M Source/WebCore/dom/EventLoop.cpp
    M Source/WebCore/dom/EventPath.cpp

  Log Message:
  -----------
  Deploy smart pointers in DeviceOrientationAndMotionAccessController.cpp,
DeviceOrientationController.cpp, DocumentStorageAccess.cpp, EventLoop.cpp, and EventPath.cpp
https://bugs.webkit.org/show_bug.cgi?id=264798

Reviewed by Chris Dumez.

Deploy more smart pointers as warned by the clang static analyzer.

* Source/WebCore/dom/DeviceOrientationAndMotionAccessController.cpp:
(WebCore::DeviceOrientationAndMotionAccessController::accessState const):
* Source/WebCore/dom/DeviceOrientationController.cpp:
(WebCore::DeviceOrientationController::getLastEvent):
* Source/WebCore/dom/DocumentStorageAccess.cpp:
(WebCore::DocumentStorageAccess::hasStorageAccessQuickCheck):
* Source/WebCore/dom/EventLoop.cpp:
(WebCore::EventLoopTimerHandle::~EventLoopTimerHandle):
* Source/WebCore/dom/EventPath.cpp:
(WebCore::EventPath::setRelatedTarget):
(WebCore::EventPath::retargetTouch):
(WebCore::RelatedNodeRetargeter::RelatedNodeRetargeter):

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




More information about the webkit-changes mailing list