[webkit-changes] [WebKit/WebKit] b0d36f: [web-animations] fix safer C++ warning in `WebAnim...

Antoine Quint noreply at github.com
Sun Oct 20 04:30:05 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b0d36feeff48d1902784c4ebee535aa185ed0031
      https://github.com/WebKit/WebKit/commit/b0d36feeff48d1902784c4ebee535aa185ed0031
  Author: Antoine Quint <graouts at webkit.org>
  Date:   2024-10-20 (Sun, 20 Oct 2024)

  Changed paths:
    M Source/WebCore/SaferCPPExpectations/UncountedLocalVarsCheckerExpectations
    M Source/WebCore/animation/WebAnimationTime.cpp

  Log Message:
  -----------
  [web-animations] fix safer C++ warning in `WebAnimationTime.cpp`
https://bugs.webkit.org/show_bug.cgi?id=281834
rdar://138268299

Reviewed by Tim Nguyen.

We need to use a `RefPtr` rather than raw pointer for ref-counted `CSSUnitValue`.

* Source/WebCore/SaferCPPExpectations/UncountedLocalVarsCheckerExpectations:
* Source/WebCore/animation/WebAnimationTime.cpp:
(WebCore::WebAnimationTime::WebAnimationTime):

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