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

Unified Diff: content/browser/gpu/browser_gpu_memory_buffer_manager.cc

Issue 2897733002: gpu: log when the request GMB id and the response GMB id are mismatched.
Patch Set: gpu: log when the request GMB id and the response GMB id are mismatched. Created 3 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/browser_gpu_memory_buffer_manager.cc
diff --git a/content/browser/gpu/browser_gpu_memory_buffer_manager.cc b/content/browser/gpu/browser_gpu_memory_buffer_manager.cc
index aab62d820de3bac55fa60803a9cc6246165e1294..6571db1f4308e698cc9321e56dbbe3c13ba4bc45 100644
--- a/content/browser/gpu/browser_gpu_memory_buffer_manager.cc
+++ b/content/browser/gpu/browser_gpu_memory_buffer_manager.cc
@@ -401,6 +401,8 @@ void BrowserGpuMemoryBufferManager::GpuMemoryBufferCreatedOnIO(
} else {
// Remove the buffer entry and run the allocation callback with an empty
// handle to indicate failure.
+ LOG(ERROR) << "GpuMemoryBuffer ID is mismatched. request id:" << id.id
reveman 2017/05/30 18:11:52 We don't know if it's because a id mismatch here.
dshwang 2017/05/30 18:52:57 It happens when handle.id != id. please check abov
+ << ", response id:" << handle.id.id;
buffers.erase(buffer_it);
callback.Run(gfx::GpuMemoryBufferHandle());
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698