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

Unified Diff: ui/gfx/mojo/struct_traits_unittest.cc

Issue 2569143002: gfx: Fix transporting shared-memory gpu memory buffer over mojo. (Closed)
Patch Set: . Created 4 years 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/mojo/buffer_types_traits.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/mojo/struct_traits_unittest.cc
diff --git a/ui/gfx/mojo/struct_traits_unittest.cc b/ui/gfx/mojo/struct_traits_unittest.cc
index addb13d5855437d03dfc7b7eee50ca453be74370..bf7b8e2fa5c7e2cf2dfdb796603458678e99f78d 100644
--- a/ui/gfx/mojo/struct_traits_unittest.cc
+++ b/ui/gfx/mojo/struct_traits_unittest.cc
@@ -163,11 +163,8 @@ TEST_F(StructTraitsTest, GpuMemoryBufferHandle) {
EXPECT_EQ(kOffset, output.offset);
EXPECT_EQ(kStride, output.stride);
-#if !defined(OS_MACOSX) && !defined(OS_IOS)
- // TODO: Add support for mach_port on mac.
base::SharedMemory output_memory(output.handle, true);
EXPECT_TRUE(output_memory.Map(1024));
-#endif
#if defined(USE_OZONE)
const uint64_t kSize = kOffset + kStride;
« no previous file with comments | « ui/gfx/mojo/buffer_types_traits.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698