| Index: content/common/gpu/client/gpu_memory_buffer_impl.cc
|
| diff --git a/content/common/gpu/client/gpu_memory_buffer_impl.cc b/content/common/gpu/client/gpu_memory_buffer_impl.cc
|
| index 77a846fe8c1b801b54ac84f2cc87e6df378c42c2..209820e6ed8f455c40008cc934365c7c6eea238e 100644
|
| --- a/content/common/gpu/client/gpu_memory_buffer_impl.cc
|
| +++ b/content/common/gpu/client/gpu_memory_buffer_impl.cc
|
| @@ -9,8 +9,12 @@
|
| namespace content {
|
|
|
| GpuMemoryBufferImpl::GpuMemoryBufferImpl(gfx::Size size,
|
| - unsigned internalformat)
|
| - : size_(size), internalformat_(internalformat), mapped_(false) {
|
| + unsigned internalformat,
|
| + gfx::GpuMemoryBuffer::Usage usage)
|
| + : size_(size),
|
| + internalformat_(internalformat),
|
| + usage_(usage),
|
| + mapped_(false) {
|
| DCHECK(IsFormatValid(internalformat));
|
| }
|
|
|
|
|