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

Unified Diff: cc/resources/resource_provider.cc

Issue 2819803002: Reorganize GUIDs for GPU memory buffers (Closed)
Patch Set: Address on reviews Created 3 years, 8 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
Index: cc/resources/resource_provider.cc
diff --git a/cc/resources/resource_provider.cc b/cc/resources/resource_provider.cc
index 5275af92daf0e788ea7b1cbfe1fa901acc546066..8d2e7f1196eb6e33358b806a3661e5986e26bdee 100644
--- a/cc/resources/resource_provider.cc
+++ b/cc/resources/resource_provider.cc
@@ -2177,8 +2177,8 @@ bool ResourceProvider::OnMemoryDump(
base::trace_event::MemoryAllocatorDumpGuid guid;
switch (resource.type) {
case RESOURCE_TYPE_GPU_MEMORY_BUFFER:
- guid = gfx::GetGpuMemoryBufferGUIDForTracing(
- tracing_process_id, resource.gpu_memory_buffer->GetHandle().id);
+ guid = resource.gpu_memory_buffer->GetHandle().GetGUIDForTracing(
reveman 2017/04/17 13:21:06 ditto
hajimehoshi 2017/04/18 08:21:58 Done.
+ tracing_process_id);
break;
case RESOURCE_TYPE_GL_TEXTURE:
DCHECK(resource.gl_id);

Powered by Google App Engine
This is Rietveld 408576698