[webkit-changes] [WebKit/WebKit] 4a439b: Deploy smart pointers in UserTypingGestureIndicato...

Ryosuke Niwa noreply at github.com
Wed Nov 8 08:21:43 PST 2023


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

  Changed paths:
    M Source/WebCore/dom/UserTypingGestureIndicator.cpp
    M Source/WebCore/dom/VisitedLinkState.cpp
    M Source/WebCore/dom/VisitedLinkState.h
    M Source/WebCore/dom/mac/ImageControlsMac.cpp

  Log Message:
  -----------
  Deploy smart pointers in UserTypingGestureIndicator.cpp, VisitedLinkState.cpp, and ImageControlsMac.cpp
https://bugs.webkit.org/show_bug.cgi?id=264389

Reviewed by Chris Dumez.

Deploy smart pointers as warned by the clang static analyzer.

* Source/WebCore/dom/UserTypingGestureIndicator.cpp:
(WebCore::UserTypingGestureIndicator::UserTypingGestureIndicator):
* Source/WebCore/dom/VisitedLinkState.cpp:
(WebCore::linkAttribute):
(WebCore::VisitedLinkState::invalidateStyleForAllLinks):
(WebCore::VisitedLinkState::invalidateStyleForLink):
(WebCore::VisitedLinkState::determineLinkStateSlowCase):
* Source/WebCore/dom/VisitedLinkState.h:
* Source/WebCore/dom/mac/ImageControlsMac.cpp:
(WebCore::ImageControlsMac::createImageControls):
(WebCore::ImageControlsMac::handleEvent):

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




More information about the webkit-changes mailing list