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

Unified Diff: services/ui/common/gpu_type_converters_unittest.cc

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 | « services/ui/common/gpu_type_converters.cc ('k') | services/ui/gpu/interfaces/gpu_service_internal.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/common/gpu_type_converters_unittest.cc
diff --git a/services/ui/common/gpu_type_converters_unittest.cc b/services/ui/common/gpu_type_converters_unittest.cc
index 33fc5dc02657d4a43bf7732c7592d7693f452486..662186f266ba9159380ea8d0170b205da8c3cf7e 100644
--- a/services/ui/common/gpu_type_converters_unittest.cc
+++ b/services/ui/common/gpu_type_converters_unittest.cc
@@ -31,8 +31,8 @@ TEST(MusGpuTypeConvertersTest, GpuMemoryBufferHandle) {
ui::mojom::GpuMemoryBufferHandlePtr gpu_handle =
ui::mojom::GpuMemoryBufferHandle::From<gfx::GpuMemoryBufferHandle>(
handle);
- ASSERT_EQ(gpu_handle->type, ui::mojom::GpuMemoryBufferType::SHARED_MEMORY);
- ASSERT_EQ(gpu_handle->id->id, 99);
+ ASSERT_EQ(gpu_handle->type, gfx::GpuMemoryBufferType::SHARED_MEMORY_BUFFER);
+ ASSERT_EQ(gpu_handle->id.id, 99);
ASSERT_EQ(gpu_handle->offset, kOffset);
ASSERT_EQ(gpu_handle->stride, kStride);
« no previous file with comments | « services/ui/common/gpu_type_converters.cc ('k') | services/ui/gpu/interfaces/gpu_service_internal.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698