| Index: content/common/gpu/gpu_command_buffer_stub.cc
|
| diff --git a/content/common/gpu/gpu_command_buffer_stub.cc b/content/common/gpu/gpu_command_buffer_stub.cc
|
| index 1a8cc1704829d371fe2c0128757c346e97436c0e..80d0ee22b51bc94a6fed6a61193d938baadc5014 100644
|
| --- a/content/common/gpu/gpu_command_buffer_stub.cc
|
| +++ b/content/common/gpu/gpu_command_buffer_stub.cc
|
| @@ -30,6 +30,7 @@
|
| #include "gpu/command_buffer/common/mailbox.h"
|
| #include "gpu/command_buffer/service/gl_context_virtual.h"
|
| #include "gpu/command_buffer/service/gl_state_restorer_impl.h"
|
| +#include "gpu/command_buffer/service/image_factory.h"
|
| #include "gpu/command_buffer/service/image_manager.h"
|
| #include "gpu/command_buffer/service/logger.h"
|
| #include "gpu/command_buffer/service/mailbox_manager.h"
|
| @@ -957,8 +958,10 @@ void GpuCommandBufferStub::OnCreateImage(int32 id,
|
|
|
| GpuChannelManager* manager = channel_->gpu_channel_manager();
|
| scoped_refptr<gfx::GLImage> image =
|
| - manager->gpu_memory_buffer_factory()->CreateImageForGpuMemoryBuffer(
|
| - handle, size, format, internalformat, channel()->client_id());
|
| + manager->gpu_memory_buffer_factory()
|
| + ->AsImageFactory()
|
| + ->CreateImageForGpuMemoryBuffer(
|
| + handle, size, format, internalformat, channel()->client_id());
|
| if (!image.get())
|
| return;
|
|
|
|
|