Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0bfe4855963177bfdb3b232fe75d30107547a7f3
      
https://github.com/WebKit/WebKit/commit/0bfe4855963177bfdb3b232fe75d30107547a7f3
  Author: Ahmad Saleem <[email protected]>
  Date:   2026-03-28 (Sat, 28 Mar 2026)

  Changed paths:
    M Source/WebCore/svg/animation/SVGSMILElement.cpp

  Log Message:
  -----------
  Use local RefPtr instead of WeakPtr member in 
ConditionEventListener::handleEvent
https://bugs.webkit.org/show_bug.cgi?id=310970
rdar://173576500

Reviewed by Chris Dumez and Anne van Kesteren.

The code null-checks m_animation by promoting it to a local RefPtr but
then dereferences the WeakPtr member directly to call elapsed(), bypassing
the guard. Use the local variable instead.

No new tests since no behavior change.

* Source/WebCore/svg/animation/SVGSMILElement.cpp:
(WebCore::ConditionEventListener::handleEvent):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to