[webkit-changes] [WebKit/WebKit] 281220: Adopt smart pointers in AnimationTimelinesController

Claudio Saavedra noreply at github.com
Thu Jan 16 04:57:42 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 28122034f839184cf806742abac755799eaf3115
      https://github.com/WebKit/WebKit/commit/28122034f839184cf806742abac755799eaf3115
  Author: Claudio Saavedra <csaavedra at igalia.com>
  Date:   2025-01-16 (Thu, 16 Jan 2025)

  Changed paths:
    M Source/WebCore/SaferCPPExpectations/NoUncountedMemberCheckerExpectations
    M Source/WebCore/animation/AnimationTimelinesController.cpp
    M Source/WebCore/animation/AnimationTimelinesController.h

  Log Message:
  -----------
  Adopt smart pointers in AnimationTimelinesController
https://bugs.webkit.org/show_bug.cgi?id=285903

Reviewed by Antoine Quint.

Use a WeakRef to store the owning Document, instead of a raw
reference.

* Source/WebCore/SaferCPPExpectations/NoUncountedMemberCheckerExpectations:
* Source/WebCore/animation/AnimationTimelinesController.cpp:
(WebCore::AnimationTimelinesController::updateAnimationsAndSendEvents):
(WebCore::AnimationTimelinesController::liveCurrentTime const):
(WebCore::AnimationTimelinesController::currentTime):
(WebCore::AnimationTimelinesController::cacheCurrentTime):
(WebCore::AnimationTimelinesController::acceleratedEffectStackUpdater):
* Source/WebCore/animation/AnimationTimelinesController.h:

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