Index: content/common/gpu/gpu_memory_buffer_factory.cc |
diff --git a/content/common/gpu/gpu_memory_buffer_factory.cc b/content/common/gpu/gpu_memory_buffer_factory.cc |
index 8469e1621782ecd80a3c6a8a70e651dfd7db96c3..3468d5a6f189bc566f141a6eadedb992c2f8c20a 100644 |
--- a/content/common/gpu/gpu_memory_buffer_factory.cc |
+++ b/content/common/gpu/gpu_memory_buffer_factory.cc |
@@ -22,20 +22,6 @@ |
namespace content { |
// static |
-gfx::GpuMemoryBufferType GpuMemoryBufferFactory::GetNativeType() { |
-#if defined(OS_MACOSX) |
- return gfx::IO_SURFACE_BUFFER; |
-#endif |
-#if defined(OS_ANDROID) |
- return gfx::SURFACE_TEXTURE_BUFFER; |
-#endif |
-#if defined(USE_OZONE) |
- return gfx::OZONE_NATIVE_PIXMAP; |
-#endif |
- return gfx::EMPTY_BUFFER; |
-} |
- |
-// static |
scoped_ptr<GpuMemoryBufferFactory> GpuMemoryBufferFactory::CreateNativeType() { |
#if defined(OS_MACOSX) |
return make_scoped_ptr(new GpuMemoryBufferFactoryIOSurface); |