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 719ffddf7a7fdd1e5f059eb93c536864b460066a..23a8fd1e50fdae5a3e34160fa76ca384c2e2174e 100644 |
--- a/components/mus/gles2/command_buffer_local.cc |
+++ b/components/mus/gles2/command_buffer_local.cc |
@@ -16,10 +16,10 @@ |
#include "components/mus/gles2/gpu_state.h" |
#include "components/mus/gles2/mojo_buffer_backing.h" |
#include "components/mus/gles2/mojo_gpu_memory_buffer.h" |
+#include "gpu/command_buffer/common/gpu_memory_buffer_support.h" |
#include "gpu/command_buffer/common/sync_token.h" |
#include "gpu/command_buffer/service/command_buffer_service.h" |
#include "gpu/command_buffer/service/context_group.h" |
-#include "gpu/command_buffer/service/image_factory.h" |
#include "gpu/command_buffer/service/image_manager.h" |
#include "gpu/command_buffer/service/memory_tracking.h" |
#include "gpu/command_buffer/service/shader_translator_cache.h" |
@@ -295,7 +295,7 @@ int32_t CommandBufferLocal::CreateGpuMemoryBufferImage(size_t width, |
DCHECK_EQ(usage, static_cast<unsigned>(GL_READ_WRITE_CHROMIUM)); |
scoped_ptr<gfx::GpuMemoryBuffer> buffer(MojoGpuMemoryBufferImpl::Create( |
gfx::Size(static_cast<int>(width), static_cast<int>(height)), |
- gpu::ImageFactory::DefaultBufferFormatForImageFormat(internal_format), |
+ gpu::DefaultBufferFormatForImageFormat(internal_format), |
gfx::BufferUsage::SCANOUT)); |
if (!buffer) |
return -1; |