| Index: components/mus/gles2/command_buffer_local.cc
|
| diff --git a/components/mus/gles2/command_buffer_local.cc b/components/mus/gles2/command_buffer_local.cc
|
| index 971ccec6eb7fb49c2589662779465d63e457b147..e9275058aef393c66a11a6562966d7d45fd758d3 100644
|
| --- a/components/mus/gles2/command_buffer_local.cc
|
| +++ b/components/mus/gles2/command_buffer_local.cc
|
| @@ -233,9 +233,7 @@ int32_t CommandBufferLocal::CreateImage(ClientBuffer buffer,
|
| unsigned internal_format) {
|
| DCHECK(CalledOnValidThread());
|
| int32_t new_id = ++next_image_id_;
|
| - mojo::SizePtr size = mojo::Size::New();
|
| - size->width = static_cast<int32_t>(width);
|
| - size->height = static_cast<int32_t>(height);
|
| + gfx::Size size(static_cast<int32_t>(width), static_cast<int32_t>(height));
|
|
|
| mus::MojoGpuMemoryBufferImpl* gpu_memory_buffer =
|
| mus::MojoGpuMemoryBufferImpl::FromClientBuffer(buffer);
|
| @@ -503,7 +501,7 @@ bool CommandBufferLocal::CreateImageOnGpuThread(
|
| int32_t id,
|
| mojo::ScopedHandle memory_handle,
|
| int32_t type,
|
| - mojo::SizePtr size,
|
| + const gfx::Size& size,
|
| int32_t format,
|
| int32_t internal_format) {
|
| DCHECK(driver_->IsScheduled());
|
|
|