| Index: content/common/gpu/gpu_memory_buffer_factory_test_template.h
|
| diff --git a/content/common/gpu/gpu_memory_buffer_factory_test_template.h b/content/common/gpu/gpu_memory_buffer_factory_test_template.h
|
| index 9f883847bc4afc5827f236f345eb2a28ac7f19dc..1305d90f0340814fefb92569d27479d65c752f02 100644
|
| --- a/content/common/gpu/gpu_memory_buffer_factory_test_template.h
|
| +++ b/content/common/gpu/gpu_memory_buffer_factory_test_template.h
|
| @@ -9,6 +9,7 @@
|
| #define CONTENT_COMMON_GPU_GPU_MEMORY_BUFFER_FACTORY_TEST_TEMPLATE_H_
|
|
|
| #include "content/common/gpu/gpu_memory_buffer_factory.h"
|
| +#include "gpu/ipc/common/gpu_memory_buffer_support.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "ui/gfx/buffer_format_util.h"
|
|
|
| @@ -34,7 +35,7 @@ TYPED_TEST_P(GpuMemoryBufferFactoryTest, CreateGpuMemoryBuffer) {
|
| gfx::BufferUsage::GPU_READ_CPU_READ_WRITE,
|
| gfx::BufferUsage::GPU_READ_CPU_READ_WRITE_PERSISTENT};
|
| for (auto usage : usages) {
|
| - if (!TypeParam::IsGpuMemoryBufferConfigurationSupported(format, usage))
|
| + if (!gpu::IsNativeGpuMemoryBufferConfigurationSupported(format, usage))
|
| continue;
|
|
|
| gfx::GpuMemoryBufferHandle handle =
|
| @@ -64,7 +65,7 @@ TYPED_TEST_P(GpuMemoryBufferFactoryImportTest,
|
| gfx::Size buffer_size(2, 2);
|
|
|
| for (auto format : gfx::GetBufferFormatsForTesting()) {
|
| - if (!TypeParam::IsGpuMemoryBufferConfigurationSupported(
|
| + if (!gpu::IsNativeGpuMemoryBufferConfigurationSupported(
|
| format, gfx::BufferUsage::GPU_READ)) {
|
| continue;
|
| }
|
|
|