| Index: ui/gl/gl_image_shared_memory_unittest.cc
|
| diff --git a/ui/gl/gl_image_shared_memory_unittest.cc b/ui/gl/gl_image_shared_memory_unittest.cc
|
| index da6feac37d4040512eafc5fa1b290c9312c5a82b..f0e88239310c96dde48e654a444cc3d5e57da6da 100644
|
| --- a/ui/gl/gl_image_shared_memory_unittest.cc
|
| +++ b/ui/gl/gl_image_shared_memory_unittest.cc
|
| @@ -24,7 +24,7 @@ class GLImageSharedMemoryTestDelegate {
|
| DCHECK(rv);
|
| GLImageTestSupport::SetBufferDataToColor(
|
| size.width(), size.height(),
|
| - static_cast<int>(RowSizeForBufferFormat(size.width(), format, 0)),
|
| + static_cast<int>(RowSizeForBufferFormat(size.width(), format, 0)), 0,
|
| format, color, reinterpret_cast<uint8_t*>(shared_memory.memory()));
|
| scoped_refptr<gl::GLImageSharedMemory> image(new gl::GLImageSharedMemory(
|
| size, gl::GLImageMemory::GetInternalFormatForTesting(format)));
|
| @@ -71,7 +71,7 @@ class GLImageSharedMemoryPoolTestDelegate {
|
| // Place buffer at a non-zero non-page-aligned offset in shared memory.
|
| size_t buffer_offset = 3 * base::SysInfo::VMAllocationGranularity() / 2;
|
| GLImageTestSupport::SetBufferDataToColor(
|
| - size.width(), size.height(), static_cast<int>(stride),
|
| + size.width(), size.height(), static_cast<int>(stride), 0,
|
| gfx::BufferFormat::RGBA_8888, color,
|
| reinterpret_cast<uint8_t*>(shared_memory.memory()) + buffer_offset);
|
| scoped_refptr<gl::GLImageSharedMemory> image(
|
|
|