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

Unified Diff: ui/gfx/gpu_memory_buffer.cc

Issue 1285183008: Ozone integration. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: add missing license header Created 5 years, 4 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/swap_result.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 be23d51bdf5273000f428c7603ba15369164e7a0..da80107bda452458eecc01419db935a595ae0d4a 100644
--- a/ui/gfx/gpu_memory_buffer.cc
+++ b/ui/gfx/gpu_memory_buffer.cc
@@ -8,10 +8,11 @@ namespace gfx {
GpuMemoryBufferHandle::GpuMemoryBufferHandle()
: type(EMPTY_BUFFER),
+ id(0),
handle(base::SharedMemory::NULLHandle())
-#if defined(USE_X11)
+#if defined(OS_MACOSX)
,
- pixmap(0)
+ io_surface_id(0)
#endif
{
}
« no previous file with comments | « ui/gfx/gpu_memory_buffer.h ('k') | ui/gfx/swap_result.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698