Index: gpu/ipc/service/gpu_memory_buffer_factory_ozone_native_pixmap.cc |
diff --git a/content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc b/gpu/ipc/service/gpu_memory_buffer_factory_ozone_native_pixmap.cc |
similarity index 94% |
rename from content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc |
rename to gpu/ipc/service/gpu_memory_buffer_factory_ozone_native_pixmap.cc |
index 08737c264249c01f89bc1cf8aeab174bee144c56..8b4a0e78c4400738e821e2c5c495a58ad5a75022 100644 |
--- a/content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc |
+++ b/gpu/ipc/service/gpu_memory_buffer_factory_ozone_native_pixmap.cc |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h" |
+#include "gpu/ipc/service/gpu_memory_buffer_factory_ozone_native_pixmap.h" |
#include "ui/gl/gl_image_ozone_native_pixmap.h" |
#include "ui/ozone/public/client_native_pixmap.h" |
@@ -10,7 +10,7 @@ |
#include "ui/ozone/public/ozone_platform.h" |
#include "ui/ozone/public/surface_factory_ozone.h" |
-namespace content { |
+namespace gpu { |
GpuMemoryBufferFactoryOzoneNativePixmap:: |
GpuMemoryBufferFactoryOzoneNativePixmap() {} |
@@ -25,7 +25,7 @@ GpuMemoryBufferFactoryOzoneNativePixmap::CreateGpuMemoryBuffer( |
gfx::BufferFormat format, |
gfx::BufferUsage usage, |
int client_id, |
- gpu::SurfaceHandle surface_handle) { |
+ SurfaceHandle surface_handle) { |
scoped_refptr<ui::NativePixmap> pixmap = |
ui::OzonePlatform::GetInstance() |
->GetSurfaceFactoryOzone() |
@@ -93,7 +93,7 @@ void GpuMemoryBufferFactoryOzoneNativePixmap::DestroyGpuMemoryBuffer( |
native_pixmaps_.erase(it); |
} |
-gpu::ImageFactory* GpuMemoryBufferFactoryOzoneNativePixmap::AsImageFactory() { |
+ImageFactory* GpuMemoryBufferFactoryOzoneNativePixmap::AsImageFactory() { |
return this; |
} |
@@ -125,4 +125,4 @@ GpuMemoryBufferFactoryOzoneNativePixmap::CreateImageForGpuMemoryBuffer( |
return image; |
} |
-} // namespace content |
+} // namespace gpu |