[webkit-reviews] review granted: [Bug 236422] [macOS] Support both versions of ScreenCaptureKit API : [Attachment 451481] Patch
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Feb 10 05:21:09 PST 2022
youenn fablet <youennf at gmail.com> has granted Eric Carlson
<eric.carlson at apple.com>'s request for review:
Bug 236422: [macOS] Support both versions of ScreenCaptureKit API
https://bugs.webkit.org/show_bug.cgi?id=236422
Attachment 451481: Patch
https://bugs.webkit.org/attachment.cgi?id=451481&action=review
--- Comment #3 from youenn fablet <youennf at gmail.com> ---
Comment on attachment 451481
--> https://bugs.webkit.org/attachment.cgi?id=451481
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=451481&action=review
> Source/WebCore/platform/mediastream/mac/ScreenCaptureKitCaptureSource.mm:95
> WeakPtr<ScreenCaptureKitCaptureSource> _callback;
Style question: Is it _callback or callback_ or m_callback that we are supposed
to use?
> Source/WebCore/platform/mediastream/mac/ScreenCaptureKitCaptureSource.mm:180
> + m_useNewAPI = [PAL::getSCStreamClass()
instancesRespondToSelector:@selector(stopCaptureWithCompletionHandler:)];
, m_useNewAPI(...)
> Source/WebCore/platform/mediastream/mac/ScreenCaptureKitCaptureSource.mm:211
> if (m_contentStream) {
We could do if (!m_contentStream) return;
> Source/WebCore/platform/mediastream/mac/ScreenCaptureKitCaptureSource.mm:447
> +
Not needed
More information about the webkit-reviews
mailing list