| Index: gpu/ipc/service/gpu_command_buffer_stub.cc
|
| diff --git a/gpu/ipc/service/gpu_command_buffer_stub.cc b/gpu/ipc/service/gpu_command_buffer_stub.cc
|
| index 40b7d9827ee1fd245f90af1b09e8ddf584b811e3..fcf08fe5a975c44a5da4006e6437f1504cbb451e 100644
|
| --- a/gpu/ipc/service/gpu_command_buffer_stub.cc
|
| +++ b/gpu/ipc/service/gpu_command_buffer_stub.cc
|
| @@ -323,6 +323,7 @@ void GpuCommandBufferStub::PerformWork() {
|
| }
|
|
|
| executor_->ProcessPendingQueries();
|
| + executor_->PerformPollingWork();
|
| }
|
|
|
| ScheduleDelayedWork(
|
| @@ -340,7 +341,8 @@ bool GpuCommandBufferStub::HasUnprocessedCommands() {
|
|
|
| void GpuCommandBufferStub::ScheduleDelayedWork(base::TimeDelta delay) {
|
| bool has_more_work = executor_.get() && (executor_->HasPendingQueries() ||
|
| - executor_->HasMoreIdleWork());
|
| + executor_->HasMoreIdleWork() ||
|
| + executor_->HasPollingWork());
|
| if (!has_more_work) {
|
| last_idle_time_ = base::TimeTicks();
|
| return;
|
|
|