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

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
« no previous file with comments | « cc/raster/staging_buffer_pool.cc ('k') | content/browser/gpu/browser_gpu_memory_buffer_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/resource_provider.cc
diff --git a/cc/resources/resource_provider.cc b/cc/resources/resource_provider.cc
index 5275af92daf0e788ea7b1cbfe1fa901acc546066..bcb9879a70daaf3dc26c790d0c00ed2624c8a889 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->GetGUIDForTracing(tracing_process_id);
break;
case RESOURCE_TYPE_GL_TEXTURE:
DCHECK(resource.gl_id);
« no previous file with comments | « cc/raster/staging_buffer_pool.cc ('k') | content/browser/gpu/browser_gpu_memory_buffer_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698