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

@ -55,8 +55,6 @@ class OffScreenHostDisplayClient : public viz::HostDisplayClient {
void SetActive(bool active);
private:
void IsOffscreen(IsOffscreenCallback callback) override;
#if defined(OS_MAC)
void OnDisplayReceivedCALayerParams(
const gfx::CALayerParams& ca_layer_params) override;