Index: gpu/command_buffer/common/gpu_memory_buffer_support.cc |
diff --git a/gpu/command_buffer/common/gpu_memory_buffer_support.cc b/gpu/command_buffer/common/gpu_memory_buffer_support.cc |
index 0159b48fde180f269d75ded05f418395afbb63ba..481f0b21c90232d1491176d27e298192c0445b67 100644 |
--- a/gpu/command_buffer/common/gpu_memory_buffer_support.cc |
+++ b/gpu/command_buffer/common/gpu_memory_buffer_support.cc |
@@ -50,18 +50,6 @@ gfx::BufferFormat BufferFormatForInternalFormat(unsigned internalformat) { |
} // namespace |
-gfx::BufferFormat DefaultBufferFormatForImageFormat(unsigned internalformat) { |
- switch (internalformat) { |
- case GL_RGB: |
- return gfx::BufferFormat::BGRX_8888; |
- case GL_RGBA: |
- return gfx::BufferFormat::RGBA_8888; |
- default: |
- NOTREACHED(); |
- return gfx::BufferFormat::RGBA_8888; |
- } |
-} |
- |
bool IsImageFormatCompatibleWithGpuMemoryBufferFormat( |
unsigned internalformat, |
gfx::BufferFormat format) { |