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

Unified Diff: services/ui/common/gpu_type_converters.h

Issue 2295923002: gfx: Struct traits for GpuMemoryBufferId and GpuMemoryBufferType. (Closed)
Patch Set: fix build Created 4 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 | « no previous file | services/ui/common/gpu_type_converters.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/common/gpu_type_converters.h
diff --git a/services/ui/common/gpu_type_converters.h b/services/ui/common/gpu_type_converters.h
index b4e81ce4824d4fe4bdb8b814cda1090d4b590584..c42350afc0bc4b3c2b90d98e25f9fc2e7ecbbb7d 100644
--- a/services/ui/common/gpu_type_converters.h
+++ b/services/ui/common/gpu_type_converters.h
@@ -35,18 +35,6 @@ struct TypeConverter<gfx::NativePixmapHandle,
#endif
template <>
-struct TypeConverter<ui::mojom::GpuMemoryBufferIdPtr, gfx::GpuMemoryBufferId> {
- static ui::mojom::GpuMemoryBufferIdPtr Convert(
- const gfx::GpuMemoryBufferId& id);
-};
-
-template <>
-struct TypeConverter<gfx::GpuMemoryBufferId, ui::mojom::GpuMemoryBufferIdPtr> {
- static gfx::GpuMemoryBufferId Convert(
- const ui::mojom::GpuMemoryBufferIdPtr& id);
-};
-
-template <>
struct TypeConverter<ui::mojom::GpuMemoryBufferHandlePtr,
gfx::GpuMemoryBufferHandle> {
static ui::mojom::GpuMemoryBufferHandlePtr Convert(
« no previous file with comments | « no previous file | services/ui/common/gpu_type_converters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698