Index: gpu/ipc/service/gpu_memory_buffer_factory_io_surface.cc |
diff --git a/content/common/gpu/gpu_memory_buffer_factory_io_surface.cc b/gpu/ipc/service/gpu_memory_buffer_factory_io_surface.cc |
similarity index 91% |
rename from content/common/gpu/gpu_memory_buffer_factory_io_surface.cc |
rename to gpu/ipc/service/gpu_memory_buffer_factory_io_surface.cc |
index dcbf8d1efc43bc3b2373336b53d100a1a85f57f5..1aa86cb8d7bd43c8e3510f53f57b76a2888cce76 100644 |
--- a/content/common/gpu/gpu_memory_buffer_factory_io_surface.cc |
+++ b/gpu/ipc/service/gpu_memory_buffer_factory_io_surface.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_io_surface.h" |
+#include "gpu/ipc/service/gpu_memory_buffer_factory_io_surface.h" |
#include <vector> |
@@ -11,7 +11,7 @@ |
#include "ui/gfx/mac/io_surface.h" |
#include "ui/gl/gl_image_io_surface.h" |
-namespace content { |
+namespace gpu { |
GpuMemoryBufferFactoryIOSurface::GpuMemoryBufferFactoryIOSurface() { |
} |
@@ -26,7 +26,7 @@ GpuMemoryBufferFactoryIOSurface::CreateGpuMemoryBuffer( |
gfx::BufferFormat format, |
gfx::BufferUsage usage, |
int client_id, |
- gpu::SurfaceHandle surface_handle) { |
+ SurfaceHandle surface_handle) { |
base::ScopedCFTypeRef<IOSurfaceRef> io_surface( |
gfx::CreateIOSurface(size, format)); |
if (!io_surface) |
@@ -70,7 +70,7 @@ void GpuMemoryBufferFactoryIOSurface::DestroyGpuMemoryBuffer( |
} |
} |
-gpu::ImageFactory* GpuMemoryBufferFactoryIOSurface::AsImageFactory() { |
+ImageFactory* GpuMemoryBufferFactoryIOSurface::AsImageFactory() { |
return this; |
} |
@@ -97,4 +97,4 @@ GpuMemoryBufferFactoryIOSurface::CreateImageForGpuMemoryBuffer( |
return image; |
} |
-} // namespace content |
+} // namespace gpu |