summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/in_process_command_buffer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/service/in_process_command_buffer.cc')
-rw-r--r--gpu/command_buffer/service/in_process_command_buffer.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gpu/command_buffer/service/in_process_command_buffer.cc b/gpu/command_buffer/service/in_process_command_buffer.cc
index 77647ef..3b5f9d0 100644
--- a/gpu/command_buffer/service/in_process_command_buffer.cc
+++ b/gpu/command_buffer/service/in_process_command_buffer.cc
@@ -712,8 +712,8 @@ void InProcessCommandBuffer::CreateImageOnGpuThread(
switch (handle.type) {
case gfx::SHARED_MEMORY_BUFFER: {
- scoped_refptr<gfx::GLImageSharedMemory> image(
- new gfx::GLImageSharedMemory(size, internalformat));
+ scoped_refptr<gl::GLImageSharedMemory> image(
+ new gl::GLImageSharedMemory(size, internalformat));
if (!image->Initialize(handle.handle, handle.id, format, handle.offset)) {
LOG(ERROR) << "Failed to initialize image.";
return;
@@ -731,7 +731,7 @@ void InProcessCommandBuffer::CreateImageOnGpuThread(
// Note: this assumes that client ID is always 0.
const int kClientId = 0;
- scoped_refptr<gfx::GLImage> image =
+ scoped_refptr<gl::GLImage> image =
image_factory_->CreateImageForGpuMemoryBuffer(
handle, size, format, internalformat, kClientId);
if (!image.get()) {