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

Unified Diff: gpu/ipc/service/gpu_memory_buffer_factory.cc

Issue 2709163004: Rename GpuMemoryBufferFactoryOzoneNativePixmap to GpuMemoryBufferFactoryNativePixmap (Closed)
Patch Set: Rebase and addressed reveman's remark. Created 3 years, 8 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 | « gpu/ipc/service/BUILD.gn ('k') | gpu/ipc/service/gpu_memory_buffer_factory_native_pixmap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/service/gpu_memory_buffer_factory.cc
diff --git a/gpu/ipc/service/gpu_memory_buffer_factory.cc b/gpu/ipc/service/gpu_memory_buffer_factory.cc
index 32048272aa4a3717b0dd631201187f80e2f0d065..8e179a4818d7097eec1cfd9ad36aa59c111483d5 100644
--- a/gpu/ipc/service/gpu_memory_buffer_factory.cc
+++ b/gpu/ipc/service/gpu_memory_buffer_factory.cc
@@ -12,8 +12,8 @@
#include "gpu/ipc/service/gpu_memory_buffer_factory_io_surface.h"
#endif
-#if defined(USE_OZONE)
-#include "gpu/ipc/service/gpu_memory_buffer_factory_ozone_native_pixmap.h"
+#if defined(OS_LINUX)
+#include "gpu/ipc/service/gpu_memory_buffer_factory_native_pixmap.h"
#endif
namespace gpu {
@@ -24,8 +24,8 @@ GpuMemoryBufferFactory::CreateNativeType() {
#if defined(OS_MACOSX)
return base::WrapUnique(new GpuMemoryBufferFactoryIOSurface);
#endif
-#if defined(USE_OZONE)
- return base::WrapUnique(new GpuMemoryBufferFactoryOzoneNativePixmap);
+#if defined(OS_LINUX)
+ return base::WrapUnique(new GpuMemoryBufferFactoryNativePixmap);
#endif
return nullptr;
}
« no previous file with comments | « gpu/ipc/service/BUILD.gn ('k') | gpu/ipc/service/gpu_memory_buffer_factory_native_pixmap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698