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

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

Issue 2683593006: Use OS_LINUX instead of USE_OZONE in ui/gfx/ when possible (Closed)
Patch Set: Rebase Created 3 years, 9 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 | « ui/gfx/mojo/buffer_types_struct_traits.cc ('k') | ui/gfx/native_pixmap_handle.h » ('j') | 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 bf7b8e2fa5c7e2cf2dfdb796603458678e99f78d..f267c552841b9c413920d0df8d08c4311d41e3e9 100644
--- a/ui/gfx/mojo/struct_traits_unittest.cc
+++ b/ui/gfx/mojo/struct_traits_unittest.cc
@@ -166,7 +166,7 @@ TEST_F(StructTraitsTest, GpuMemoryBufferHandle) {
base::SharedMemory output_memory(output.handle, true);
EXPECT_TRUE(output_memory.Map(1024));
-#if defined(USE_OZONE)
+#if defined(OS_LINUX)
const uint64_t kSize = kOffset + kStride;
const uint64_t kModifier = 2;
handle.type = gfx::OZONE_NATIVE_PIXMAP;
« no previous file with comments | « ui/gfx/mojo/buffer_types_struct_traits.cc ('k') | ui/gfx/native_pixmap_handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698