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

Unified Diff: ui/gfx/native_pixmap_handle.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/native_pixmap_handle.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/native_pixmap_handle.cc
diff --git a/ui/gfx/native_pixmap_handle.cc b/ui/gfx/native_pixmap_handle.cc
index c58c38bdf099f58b575fa963b0c58f429097dbdd..d13952dbce9323921b786bab4e8ffaf6399bffbb 100644
--- a/ui/gfx/native_pixmap_handle.cc
+++ b/ui/gfx/native_pixmap_handle.cc
@@ -4,7 +4,7 @@
#include "ui/gfx/native_pixmap_handle.h"
-#if defined(USE_OZONE)
+#if defined(OS_LINUX)
#include "base/posix/eintr_wrapper.h"
#endif
@@ -29,7 +29,7 @@ NativePixmapHandle::NativePixmapHandle(const NativePixmapHandle& other) =
NativePixmapHandle::~NativePixmapHandle() {}
-#if defined(USE_OZONE)
+#if defined(OS_LINUX)
NativePixmapHandle CloneHandleForIPC(const NativePixmapHandle& handle) {
NativePixmapHandle clone;
std::vector<base::ScopedFD> scoped_fds;
@@ -46,6 +46,6 @@ NativePixmapHandle CloneHandleForIPC(const NativePixmapHandle& handle) {
clone.planes = handle.planes;
return clone;
}
-#endif // defined(USE_OZONE)
+#endif // defined(OS_LINUX)
} // namespace gfx
« no previous file with comments | « ui/gfx/native_pixmap_handle.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698