[webkit-changes] [WebKit/WebKit] a83b19: Crash under RemoteSampleBufferDisplayLayer::ref()

Chris Dumez noreply at github.com
Mon Feb 24 06:57:37 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a83b1901c7a4099bfcc15578fa7a707355c3f9d4
      https://github.com/WebKit/WebKit/commit/a83b1901c7a4099bfcc15578fa7a707355c3f9d4
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2025-02-24 (Mon, 24 Feb 2025)

  Changed paths:
    M Source/WebKit/GPUProcess/webrtc/RemoteSampleBufferDisplayLayer.h

  Log Message:
  -----------
  Crash under RemoteSampleBufferDisplayLayer::ref()
https://bugs.webkit.org/show_bug.cgi?id=288327
rdar://145426041

Reviewed by David Kilzer.

Have RemoteSampleBufferDisplayLayer subclass ThreadSafeRefCounted instead of
RefCounted since it gets ref'd / deref'd on multiple threads. We Also make
sure it always gets destroyed on the main thread since we have WeakPtrs
pointing to it.

* Source/WebKit/GPUProcess/webrtc/RemoteSampleBufferDisplayLayer.h:

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