| Index: content/common/gpu/client/gpu_memory_buffer_impl_unittest.cc
|
| diff --git a/content/common/gpu/client/gpu_memory_buffer_impl_unittest.cc b/content/common/gpu/client/gpu_memory_buffer_impl_unittest.cc
|
| index d96c7f43409d5ae8ef88077f8dec6b823705375d..cb7140820d5caf4788d0ee3638e62af48ed8298e 100644
|
| --- a/content/common/gpu/client/gpu_memory_buffer_impl_unittest.cc
|
| +++ b/content/common/gpu/client/gpu_memory_buffer_impl_unittest.cc
|
| @@ -49,7 +49,7 @@ class GpuMemoryBufferImplTest
|
| };
|
|
|
| TEST_P(GpuMemoryBufferImplTest, CreateFromHandle) {
|
| - const int kBufferId = 1;
|
| + const gfx::GpuMemoryBufferId kBufferId(1);
|
|
|
| gfx::Size buffer_size(8, 8);
|
|
|
| @@ -72,7 +72,7 @@ TEST_P(GpuMemoryBufferImplTest, CreateFromHandle) {
|
| }
|
|
|
| TEST_P(GpuMemoryBufferImplTest, Map) {
|
| - const int kBufferId = 1;
|
| + const gfx::GpuMemoryBufferId kBufferId(1);
|
|
|
| // Use a multiple of 4 for both dimensions to support compressed formats.
|
| gfx::Size buffer_size(4, 4);
|
| @@ -135,7 +135,7 @@ TEST_P(GpuMemoryBufferImplTest, Map) {
|
| }
|
|
|
| TEST_P(GpuMemoryBufferImplTest, PersistentMap) {
|
| - const int kBufferId = 1;
|
| + const gfx::GpuMemoryBufferId kBufferId(1);
|
|
|
| // Use a multiple of 4 for both dimensions to support compressed formats.
|
| gfx::Size buffer_size(4, 4);
|
|
|