fix: pass IsScreen via parameter instead of sync IPC method (#27774)
This commit is contained in:
parent
1e4f67c197
commit
a0141f8d6c
5 changed files with 115 additions and 75 deletions
|
@ -610,6 +610,10 @@ void OffScreenRenderWidgetHostView::ProxyViewDestroyed(
|
|||
Invalidate();
|
||||
}
|
||||
|
||||
bool OffScreenRenderWidgetHostView::IsOffscreen() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
std::unique_ptr<viz::HostDisplayClient>
|
||||
OffScreenRenderWidgetHostView::CreateHostDisplayClient(
|
||||
ui::Compositor* compositor) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue