-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MediaStream] Address review comments after 270621@main
https://bugs.webkit.org/show_bug.cgi?id=265378 rdar://118832787 Reviewed by Youenn Fablet. * Source/WebCore/Modules/mediastream/MediaStreamTrack.cpp: (WebCore::MediaStreamTrack::applyConstraints): Resolve or reject promise in a task. (WebCore::MediaStreamTrack::trackEnded): Wrap long comment. * Source/WebCore/platform/mediastream/mac/AVVideoCaptureSource.mm: (WebCore::AVVideoCaptureSource::resolvePendingPhotoRequest): Log an error message if there is no producer. (WebCore::AVVideoCaptureSource::rejectPendingPhotoRequest): Ditto. (WebCore::AVVideoCaptureSource::captureOutputDidFinishProcessingPhoto): Return early if capture fails. * Source/WebCore/platform/mock/MockRealtimeVideoSource.h: (WebCore::MockRealtimeVideoSource::DrawingState::DrawingState): Add `explicit` * Source/WebKit/UIProcess/Cocoa/UserMediaCaptureManagerProxy.cpp: (WebKit::UserMediaCaptureManagerProxy::takePhoto): Canonical link: https://commits.webkit.org/271155@main
- Loading branch information
1 parent
46ea518
commit 0454dad
Showing
4 changed files
with
26 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters