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

Unified Diff: ui/gfx/mojo/buffer_types_struct_traits.h

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/ipc/gfx_param_traits_macros.h ('k') | ui/gfx/mojo/buffer_types_struct_traits.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/mojo/buffer_types_struct_traits.h
diff --git a/ui/gfx/mojo/buffer_types_struct_traits.h b/ui/gfx/mojo/buffer_types_struct_traits.h
index 17b73a71e70968c6c1c18ab368f9c155bab47185..246e7055ac68f323d80d37b337688d8b6cf9c6af 100644
--- a/ui/gfx/mojo/buffer_types_struct_traits.h
+++ b/ui/gfx/mojo/buffer_types_struct_traits.h
@@ -235,10 +235,10 @@ struct StructTraits<gfx::mojom::NativePixmapHandleDataView,
void* context);
static bool IsNull(const gfx::NativePixmapHandle& handle) {
-#if defined(USE_OZONE)
+#if defined(OS_LINUX)
return false;
#else
- // NativePixmapHandle are not used on non-ozone platforms.
+ // NativePixmapHandle are not used on non-linux platforms.
return true;
#endif
}
« no previous file with comments | « ui/gfx/ipc/gfx_param_traits_macros.h ('k') | ui/gfx/mojo/buffer_types_struct_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698