summaryrefslogtreecommitdiffstats
path: root/content/common/gpu/client/gpu_channel_host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/common/gpu/client/gpu_channel_host.cc')
-rw-r--r--content/common/gpu/client/gpu_channel_host.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/content/common/gpu/client/gpu_channel_host.cc b/content/common/gpu/client/gpu_channel_host.cc
index 492e696..d0ceecd 100644
--- a/content/common/gpu/client/gpu_channel_host.cc
+++ b/content/common/gpu/client/gpu_channel_host.cc
@@ -304,6 +304,10 @@ gfx::GpuMemoryBufferHandle GpuChannelHost::ShareGpuMemoryBufferToGpuProcess(
handle.handle = ShareToGpuProcess(source_handle.handle);
return handle;
}
+#if defined(USE_OZONE)
+ case gfx::OZONE_NATIVE_BUFFER:
+ return source_handle;
+#endif
#if defined(OS_MACOSX)
case gfx::IO_SURFACE_BUFFER:
return source_handle;