[webkit-changes] [WebKit/WebKit] e86473: Adopt more smart pointers in IntersectionObserver

Rob Buis noreply at github.com
Fri May 3 06:25:41 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e864738237198a14b63c6f519be1023b951f00fe
      https://github.com/WebKit/WebKit/commit/e864738237198a14b63c6f519be1023b951f00fe
  Author: Rob Buis <rbuis at igalia.com>
  Date:   2024-05-03 (Fri, 03 May 2024)

  Changed paths:
    M Source/WebCore/page/IntersectionObserver.cpp

  Log Message:
  -----------
  Adopt more smart pointers in IntersectionObserver
https://bugs.webkit.org/show_bug.cgi?id=273478

Reviewed by Chris Dumez.

Adopt more smart pointers in IntersectionObserver based on the
[alpha.webkit.UncountedLocalVarsChecker] warning.

* Source/WebCore/page/IntersectionObserver.cpp:
(WebCore::IntersectionObserver::observe):
(WebCore::IntersectionObserver::unobserve):
(WebCore::IntersectionObserver::disconnect):
(WebCore::IntersectionObserver::targetDestroyed):
(WebCore::computeClippedRectInRootContentsSpace):
(WebCore::IntersectionObserver::nowTimestamp const):
(WebCore::IntersectionObserver::notify):
(WebCore::IntersectionObserver::isReachableFromOpaqueRoots const):

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