fix: pass IsScreen via parameter instead of sync IPC method (#27774)

This commit is contained in:
Cheng Zhao 2021-02-20 08:28:48 +09:00 committed by GitHub
parent 1e4f67c197
commit a0141f8d6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 115 additions and 75 deletions

View file

@ -149,6 +149,7 @@ class OffScreenRenderWidgetHostView : public content::RenderWidgetHostViewBase,
gfx::PointF* transformed_point) override;
// ui::CompositorDelegate:
bool IsOffscreen() const override;
std::unique_ptr<viz::HostDisplayClient> CreateHostDisplayClient(
ui::Compositor* compositor) override;