| Index: mojo/gles2/command_buffer_client_impl.cc
|
| diff --git a/mojo/gles2/command_buffer_client_impl.cc b/mojo/gles2/command_buffer_client_impl.cc
|
| index fecd6aa211640e95fe6906a3be1e38d305a2f309..14f0569ce1495c1f9ae994a8fdec6660abf305d6 100644
|
| --- a/mojo/gles2/command_buffer_client_impl.cc
|
| +++ b/mojo/gles2/command_buffer_client_impl.cc
|
| @@ -17,8 +17,8 @@
|
| #include "components/mus/gles2/mojo_buffer_backing.h"
|
| #include "components/mus/gles2/mojo_gpu_memory_buffer.h"
|
| #include "gpu/command_buffer/common/command_buffer_id.h"
|
| +#include "gpu/command_buffer/common/gpu_memory_buffer_support.h"
|
| #include "gpu/command_buffer/common/sync_token.h"
|
| -#include "gpu/command_buffer/service/image_factory.h"
|
| #include "mojo/platform_handle/platform_handle_functions.h"
|
|
|
| namespace gles2 {
|
| @@ -270,7 +270,7 @@ int32_t CommandBufferClientImpl::CreateGpuMemoryBufferImage(
|
| unsigned usage) {
|
| scoped_ptr<gfx::GpuMemoryBuffer> buffer(mus::MojoGpuMemoryBufferImpl::Create(
|
| gfx::Size(static_cast<int>(width), static_cast<int>(height)),
|
| - gpu::ImageFactory::DefaultBufferFormatForImageFormat(internalformat),
|
| + gpu::DefaultBufferFormatForImageFormat(internalformat),
|
| gfx::BufferUsage::SCANOUT));
|
| if (!buffer)
|
| return -1;
|
|
|