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

Unified Diff: content/common/gpu/client/gpu_channel_host.cc

Issue 685983005: gpu: Associate all GpuMemoryBuffers with unique IDs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: content/common/gpu/client/gpu_channel_host.cc
diff --git a/content/common/gpu/client/gpu_channel_host.cc b/content/common/gpu/client/gpu_channel_host.cc
index 2d25b4940f491530e767f80893bf4cee5b79f78c..1928298985ae78cab88fd936e6b131e2ec91723e 100644
--- a/content/common/gpu/client/gpu_channel_host.cc
+++ b/content/common/gpu/client/gpu_channel_host.cc
@@ -301,10 +301,6 @@ gfx::GpuMemoryBufferHandle GpuChannelHost::ShareGpuMemoryBufferToGpuProcess(
case gfx::SURFACE_TEXTURE_BUFFER:
return source_handle;
#endif
-#if defined(USE_X11)
- case gfx::X11_PIXMAP_BUFFER:
- return source_handle;
-#endif
default:
NOTREACHED();
return gfx::GpuMemoryBufferHandle();

Powered by Google App Engine
This is Rietveld 408576698