| Index: content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc
|
| diff --git a/content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc b/content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc
|
| index 90ecdabb1dccf21a698ca5dd9f143464223692d7..08737c264249c01f89bc1cf8aeab174bee144c56 100644
|
| --- a/content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc
|
| +++ b/content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc
|
| @@ -18,18 +18,6 @@ GpuMemoryBufferFactoryOzoneNativePixmap::
|
| GpuMemoryBufferFactoryOzoneNativePixmap::
|
| ~GpuMemoryBufferFactoryOzoneNativePixmap() {}
|
|
|
| -// static
|
| -bool GpuMemoryBufferFactoryOzoneNativePixmap::
|
| - IsGpuMemoryBufferConfigurationSupported(gfx::BufferFormat format,
|
| - gfx::BufferUsage usage) {
|
| - if (!ui::ClientNativePixmapFactory::GetInstance()) {
|
| - // unittests don't have to set ClientNativePixmapFactory.
|
| - return false;
|
| - }
|
| - return ui::ClientNativePixmapFactory::GetInstance()->IsConfigurationSupported(
|
| - format, usage);
|
| -}
|
| -
|
| gfx::GpuMemoryBufferHandle
|
| GpuMemoryBufferFactoryOzoneNativePixmap::CreateGpuMemoryBuffer(
|
| gfx::GpuMemoryBufferId id,
|
|
|