| Index: gpu/command_buffer/service/in_process_command_buffer.cc
|
| diff --git a/gpu/command_buffer/service/in_process_command_buffer.cc b/gpu/command_buffer/service/in_process_command_buffer.cc
|
| index 9a8b5062957638986926118030b300f1cd04f8ef..c0aa5db7b00db3c0a0917079dfa3fd881637e405 100644
|
| --- a/gpu/command_buffer/service/in_process_command_buffer.cc
|
| +++ b/gpu/command_buffer/service/in_process_command_buffer.cc
|
| @@ -214,10 +214,12 @@ InProcessCommandBuffer::InProcessCommandBuffer(
|
| gpu_thread_weak_ptr_factory_(this) {
|
| DCHECK(service_.get());
|
| next_image_id_.GetNext();
|
| + LOG(ERROR) << "InProcessCommandBuffer " << this;
|
| }
|
|
|
| InProcessCommandBuffer::~InProcessCommandBuffer() {
|
| Destroy();
|
| + LOG(ERROR) << "~InProcessCommandBuffer " << this;
|
| }
|
|
|
| bool InProcessCommandBuffer::MakeCurrent() {
|
| @@ -981,7 +983,7 @@ void PostCallback(
|
| // The task_runner.get() check is to support using InProcessCommandBuffer on
|
| // a thread without a message loop.
|
| if (task_runner.get() && !task_runner->BelongsToCurrentThread()) {
|
| - task_runner->PostTask(FROM_HERE, callback);
|
| + task_runner->PostDelayedTask(FROM_HERE, callback, base::TimeDelta::FromSeconds(3));
|
| } else {
|
| callback.Run();
|
| }
|
|
|