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

Unified Diff: ui/gfx/gpu_memory_buffer.cc

Issue 685983005: gpu: Associate all GpuMemoryBuffers with unique IDs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: one more ozone build fix Created 6 years, 1 month 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/ozone/gpu/gpu_memory_buffer_factory_ozone_native_buffer.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 18de4f0bd7c67ab0befb9a45ac8a0d0837caabf3..da80107bda452458eecc01419db935a595ae0d4a 100644
--- a/ui/gfx/gpu_memory_buffer.cc
+++ b/ui/gfx/gpu_memory_buffer.cc
@@ -8,14 +8,11 @@ namespace gfx {
GpuMemoryBufferHandle::GpuMemoryBufferHandle()
: type(EMPTY_BUFFER),
+ id(0),
handle(base::SharedMemory::NULLHandle())
#if defined(OS_MACOSX)
,
- io_surface_id(0u)
-#endif
-#if defined(USE_X11)
- ,
- pixmap(0)
+ io_surface_id(0)
#endif
{
}
« no previous file with comments | « ui/gfx/gpu_memory_buffer.h ('k') | ui/ozone/gpu/gpu_memory_buffer_factory_ozone_native_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698