| 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 b37e787e6716f2132dcf54e6f0a5b3eab147f79e..73d16c6088847bfcfcb848761cba18f083cac5bd 100644
|
| --- a/content/common/gpu/gpu_command_buffer_stub.cc
|
| +++ b/content/common/gpu/gpu_command_buffer_stub.cc
|
| @@ -55,10 +55,13 @@ GpuCommandBufferStub::GpuCommandBufferStub(
|
| parent_texture_for_initialization_(0),
|
| watchdog_(watchdog),
|
| task_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)) {
|
| - if (share_group)
|
| + if (share_group) {
|
| context_group_ = share_group->context_group_;
|
| - else
|
| - context_group_ = new gpu::gles2::ContextGroup;
|
| + } else {
|
| + // TODO(gman): this needs to be false for everything but Pepper.
|
| + bool bind_generates_resource = true;
|
| + context_group_ = new gpu::gles2::ContextGroup(bind_generates_resource);
|
| + }
|
| }
|
|
|
| GpuCommandBufferStub::~GpuCommandBufferStub() {
|
|
|