Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(234)

Unified Diff: gpu/command_buffer/service/in_process_command_buffer.cc

Issue 2237723002: NOT FOR COMMIT - make crbug.com/630625 reproducible Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/exo/gamepad_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « components/exo/gamepad_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698