Windows: Another fix for OSR rendering with shared texture enabled (issue #2559)

This commit is contained in:
Marshall Greenblatt 2019-01-30 14:48:19 -05:00
parent 710021be15
commit 4b0ac90ab3
1 changed files with 3 additions and 3 deletions

View File

@ -81,15 +81,15 @@ class CefCompositorFrameSinkClient
void DidReceiveCompositorFrameAck(
const std::vector<viz::ReturnedResource>& resources) override {
if (render_widget_host_view_) {
render_widget_host_view_->OnPresentCompositorFrame();
}
forward_->DidReceiveCompositorFrameAck(resources);
}
void OnBeginFrame(const viz::BeginFrameArgs& args,
const base::flat_map<uint32_t, gfx::PresentationFeedback>&
feedbacks) override {
if (render_widget_host_view_) {
render_widget_host_view_->OnPresentCompositorFrame();
}
forward_->OnBeginFrame(args, feedbacks);
}