| 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 db088c451cf50ddf89c60883046f7b760f119c62..738be2e14970032dc69676c7bdda6289349d8678 100644
|
| --- a/content/common/gpu/gpu_command_buffer_stub.cc
|
| +++ b/content/common/gpu/gpu_command_buffer_stub.cc
|
| @@ -58,7 +58,8 @@ GpuCommandBufferStub::GpuCommandBufferStub(
|
| int32 route_id,
|
| int32 surface_id,
|
| GpuWatchdog* watchdog,
|
| - bool software)
|
| + bool software,
|
| + gpu::gles2::ProgramCache* program_cache)
|
| : channel_(channel),
|
| handle_(handle),
|
| initial_size_(size),
|
| @@ -78,7 +79,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,
|
| + program_cache);
|
| }
|
| if (surface_id != 0)
|
| surface_state_.reset(new GpuCommandBufferStubBase::SurfaceState(
|
|
|