| Index: services/ui/gpu/gpu_service.cc
|
| diff --git a/services/ui/gpu/gpu_service.cc b/services/ui/gpu/gpu_service.cc
|
| index fd1b6ff87913163db554e537853774181a5702cc..5fe9908bd2d7c5066507765f6c5f53b9e7324ad0 100644
|
| --- a/services/ui/gpu/gpu_service.cc
|
| +++ b/services/ui/gpu/gpu_service.cc
|
| @@ -434,6 +434,12 @@ void GpuService::WakeUpGpu() {
|
| #endif
|
| }
|
|
|
| +void GpuService::GpuSwitched() {
|
| + DVLOG(1) << "GPU: GPU has switched";
|
| + if (!in_host_process_)
|
| + ui::GpuSwitchingManager::GetInstance()->NotifyGpuSwitched();
|
| +}
|
| +
|
| void GpuService::DestroyAllChannels() {
|
| if (io_runner_->BelongsToCurrentThread()) {
|
| main_runner_->PostTask(
|
|
|