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

Unified Diff: ui/gfx/gpu_memory_buffer.cc

Issue 2354903003: Don't include the tracing in gpu_memory_buffer.h (Closed)
Patch Set: Fix linux build again Created 4 years, 3 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 | « ui/gfx/gpu_memory_buffer.h ('k') | ui/gfx/gpu_memory_buffer_tracing.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/gpu_memory_buffer.cc
diff --git a/ui/gfx/gpu_memory_buffer.cc b/ui/gfx/gpu_memory_buffer.cc
index 1f9c1b092cc6d80151b4da54214684d08c819d73..569b588d5ad7b80c4c3594bf9d1b05a8ffc2b1ea 100644
--- a/ui/gfx/gpu_memory_buffer.cc
+++ b/ui/gfx/gpu_memory_buffer.cc
@@ -6,16 +6,6 @@
namespace gfx {
-base::trace_event::MemoryAllocatorDumpGuid GetGpuMemoryBufferGUIDForTracing(
- uint64_t tracing_process_id,
- GpuMemoryBufferId buffer_id) {
- // TODO(ericrk): Currently this function just wraps
- // GetGenericSharedMemoryGUIDForTracing, we may want to special case this if
- // the GPU memory buffer is not backed by shared memory.
- return gfx::GetGenericSharedMemoryGUIDForTracing(tracing_process_id,
- buffer_id);
-}
-
GpuMemoryBufferHandle::GpuMemoryBufferHandle()
: type(EMPTY_BUFFER), id(0), handle(base::SharedMemory::NULLHandle()) {
}
« no previous file with comments | « ui/gfx/gpu_memory_buffer.h ('k') | ui/gfx/gpu_memory_buffer_tracing.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698