| Index: content/browser/gpu/browser_gpu_memory_buffer_manager.cc
|
| diff --git a/content/browser/gpu/browser_gpu_memory_buffer_manager.cc b/content/browser/gpu/browser_gpu_memory_buffer_manager.cc
|
| index 9f59a2eeaf4efd15393450942089d59bdb4e4309..23d2b50efd5179d06676a057e067b2238793b33a 100644
|
| --- a/content/browser/gpu/browser_gpu_memory_buffer_manager.cc
|
| +++ b/content/browser/gpu/browser_gpu_memory_buffer_manager.cc
|
| @@ -87,16 +87,8 @@
|
| std::vector<GpuMemoryBufferFactory::Configuration>
|
| GetSupportedGpuMemoryBufferConfigurations(gfx::GpuMemoryBufferType type) {
|
| std::vector<GpuMemoryBufferFactory::Configuration> configurations;
|
| -#if defined(OS_MACOSX)
|
| - bool enable_native_gpu_memory_buffers =
|
| - !base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kDisableNativeGpuMemoryBuffers);
|
| -#else
|
| - bool enable_native_gpu_memory_buffers =
|
| - base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kEnableNativeGpuMemoryBuffers);
|
| -#endif
|
| - if (enable_native_gpu_memory_buffers) {
|
| + if (base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kEnableNativeGpuMemoryBuffers)) {
|
| const GpuMemoryBufferFactory::Configuration kNativeConfigurations[] = {
|
| {gfx::GpuMemoryBuffer::R_8, gfx::GpuMemoryBuffer::MAP},
|
| {gfx::GpuMemoryBuffer::R_8, gfx::GpuMemoryBuffer::PERSISTENT_MAP},
|
|
|