Reimplement FrameSubscriber with mojo VideoCapture APIs
This commit is contained in:
parent
28f6e10e5a
commit
1de1ca906a
6 changed files with 99 additions and 104 deletions
|
@ -661,15 +661,6 @@ void OffScreenRenderWidgetHostView::CopyFromSurfaceToVideoFrame(
|
|||
src_subrect, target, callback);
|
||||
}
|
||||
|
||||
void OffScreenRenderWidgetHostView::BeginFrameSubscription(
|
||||
std::unique_ptr<content::RenderWidgetHostViewFrameSubscriber> subscriber) {
|
||||
GetDelegatedFrameHost()->BeginFrameSubscription(std::move(subscriber));
|
||||
}
|
||||
|
||||
void OffScreenRenderWidgetHostView::EndFrameSubscription() {
|
||||
GetDelegatedFrameHost()->EndFrameSubscription();
|
||||
}
|
||||
|
||||
void OffScreenRenderWidgetHostView::InitAsGuest(
|
||||
content::RenderWidgetHostView* parent_host_view,
|
||||
content::RenderWidgetHostViewGuest* guest_view) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue