Index: content/common/gpu/gpu_memory_buffer_factory_io_surface.cc |
diff --git a/content/common/gpu/gpu_memory_buffer_factory_io_surface.cc b/content/common/gpu/gpu_memory_buffer_factory_io_surface.cc |
index b44f714ab9d28a483a16c75483386647bb5688f6..b9b37f9fcc109ed222c850aff6f37b696fa92b0a 100644 |
--- a/content/common/gpu/gpu_memory_buffer_factory_io_surface.cc |
+++ b/content/common/gpu/gpu_memory_buffer_factory_io_surface.cc |
@@ -218,7 +218,7 @@ gpu::ImageFactory* GpuMemoryBufferFactoryIOSurface::AsImageFactory() { |
return this; |
} |
-scoped_refptr<gfx::GLImage> |
+scoped_refptr<gl::GLImage> |
GpuMemoryBufferFactoryIOSurface::CreateImageForGpuMemoryBuffer( |
const gfx::GpuMemoryBufferHandle& handle, |
const gfx::Size& size, |
@@ -231,12 +231,12 @@ GpuMemoryBufferFactoryIOSurface::CreateImageForGpuMemoryBuffer( |
IOSurfaceMapKey key(handle.id, client_id); |
IOSurfaceMap::iterator it = io_surfaces_.find(key); |
if (it == io_surfaces_.end()) |
- return scoped_refptr<gfx::GLImage>(); |
+ return scoped_refptr<gl::GLImage>(); |
- scoped_refptr<gfx::GLImageIOSurface> image( |
- new gfx::GLImageIOSurface(size, internalformat)); |
+ scoped_refptr<gl::GLImageIOSurface> image( |
+ new gl::GLImageIOSurface(size, internalformat)); |
if (!image->Initialize(it->second.get(), handle.id, format)) |
- return scoped_refptr<gfx::GLImage>(); |
+ return scoped_refptr<gl::GLImage>(); |
return image; |
} |