| 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 6a281e4169071af8cb204994d542fb7c4e9c14b2..7797b1dfca9489a1dc329ea0aa6b9e9b1b14c18f 100644
|
| --- a/content/common/gpu/gpu_command_buffer_stub.cc
|
| +++ b/content/common/gpu/gpu_command_buffer_stub.cc
|
| @@ -79,7 +79,8 @@ GpuCommandBufferStub::GpuCommandBufferStub(
|
| int32 surface_id,
|
| GpuWatchdog* watchdog,
|
| bool software,
|
| - const GURL& active_url)
|
| + const GURL& active_url,
|
| + gpu::gles2::ProgramCache* program_cache)
|
| : channel_(channel),
|
| handle_(handle),
|
| initial_size_(size),
|
| @@ -103,7 +104,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(
|
|
|