| 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 99d053fbb12ae502bbc8e1fa95dfbdae7492e232..c4079ba6c9bdc52a8c27dcf80a556ee31e5bdc1b 100644
|
| --- a/content/common/gpu/gpu_command_buffer_stub.cc
|
| +++ b/content/common/gpu/gpu_command_buffer_stub.cc
|
| @@ -371,8 +371,8 @@ void GpuCommandBufferStub::OnInitialize(
|
| this,
|
| handle_);
|
| } else {
|
| - surface_ = gfx::GLSurface::CreateOffscreenGLSurface(software_,
|
| - gfx::Size(1, 1));
|
| + GpuChannelManager* manager = channel_->gpu_channel_manager();
|
| + surface_ = manager->GetDefaultOffscreenSurface();
|
| }
|
|
|
| if (!surface_.get()) {
|
|
|