| 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 3bbe3b2a3083b0e2c86aafd4cb804f2250720f0e..2c8e0492afd02135366182df2382cee736f0535d 100644
|
| --- a/content/common/gpu/gpu_command_buffer_stub.cc
|
| +++ b/content/common/gpu/gpu_command_buffer_stub.cc
|
| @@ -49,7 +49,8 @@ GpuCommandBufferStub::GpuCommandBufferStub(
|
| int32 route_id,
|
| int32 surface_id,
|
| GpuWatchdog* watchdog,
|
| - bool software)
|
| + bool software,
|
| + base::WeakPtr<gpu::ShaderCache> shader_cache)
|
| : channel_(channel),
|
| handle_(handle),
|
| initial_size_(size),
|
| @@ -67,7 +68,9 @@ GpuCommandBufferStub::GpuCommandBufferStub(
|
| if (share_group) {
|
| context_group_ = share_group->context_group_;
|
| } else {
|
| - context_group_ = new gpu::gles2::ContextGroup(mailbox_manager, true);
|
| + context_group_ = new gpu::gles2::ContextGroup(mailbox_manager,
|
| + true,
|
| + shader_cache);
|
| }
|
| if (surface_id != 0)
|
| surface_state_.reset(new GpuCommandBufferStubBase::SurfaceState(
|
|
|