Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: dbc751acf0c3a99864984e6404fd0fb421a11eb8
https://github.com/WebKit/WebKit/commit/dbc751acf0c3a99864984e6404fd0fb421a11eb8
Author: Youenn Fablet <[email protected]>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M Source/WebCore/platform/mediastream/mac/AVVideoCaptureSource.mm
Log Message:
-----------
Use more weak pointers for AVVideoCaptureSource
rdar://107135221
https://bugs.webkit.org/show_bug.cgi?id=275557
Reviewed by Eric Carlson.
Move from raw pointer in WebCoreAVVideoCaptureSourceObserver to a weak pointer.
* Source/WebCore/platform/mediastream/mac/AVVideoCaptureSource.mm:
(WebCore::AVVideoCaptureSource::AVVideoCaptureSource):
(-[WebCoreAVVideoCaptureSourceObserver initWithCaptureSource:]):
(-[WebCoreAVVideoCaptureSourceObserver disconnect]):
(-[WebCoreAVVideoCaptureSourceObserver addNotificationObservers]):
(-[WebCoreAVVideoCaptureSourceObserver
captureOutput:didOutputSampleBuffer:fromConnection:]):
(-[WebCoreAVVideoCaptureSourceObserver
captureOutput:didFinishProcessingPhoto:error:]):
(-[WebCoreAVVideoCaptureSourceObserver
observeValueForKeyPath:ofObject:change:context:]):
(-[WebCoreAVVideoCaptureSourceObserver deviceConnectedDidChange:]):
(-[WebCoreAVVideoCaptureSourceObserver sessionRuntimeError:]):
(-[WebCoreAVVideoCaptureSourceObserver beginSessionInterrupted:]):
(-[WebCoreAVVideoCaptureSourceObserver endSessionInterrupted:]):
(-[WebCoreAVVideoCaptureSourceObserver initWithCallback:]): Deleted.
Canonical link: https://commits.webkit.org/280071@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