Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e7da2aa1e92008628acfdb418874b2e67890a5f1
      
https://github.com/WebKit/WebKit/commit/e7da2aa1e92008628acfdb418874b2e67890a5f1
  Author: Said Abou-Hallawa <[email protected]>
  Date:   2025-03-11 (Tue, 11 Mar 2025)

  Changed paths:
    M Source/WebCore/svg/properties/SVGAnimatedProperty.h
    M Source/WebCore/svg/properties/SVGProperty.h

  Log Message:
  -----------
  Make SVGProperty and SVGAnimatedProperty ThreadSafeRefCounted
https://bugs.webkit.org/show_bug.cgi?id=289541
rdar://146180637

Reviewed by David Kilzer.

OffscreenCanvas can draw an SVGImage on a worker thread through ImageBitmap. The
SVGProperties can change during drawing. The SVGImage size of class can change
to handle custom drawing. This will access the RefCounted SVGProperties off the
main thread.

As a first step towards fixing the threading issues, these classes should be
ThreadSafeRefCounted.

* Source/WebCore/svg/properties/SVGAnimatedProperty.h:
* Source/WebCore/svg/properties/SVGProperty.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to