| Index: gpu/ipc/in_process_command_buffer.cc
|
| diff --git a/gpu/ipc/in_process_command_buffer.cc b/gpu/ipc/in_process_command_buffer.cc
|
| index bc3c0eda69d6c2b130980b95bee03c4cc0168cda..1b7fd65d1ed7df29939f9714b003dbccefb2cdf6 100644
|
| --- a/gpu/ipc/in_process_command_buffer.cc
|
| +++ b/gpu/ipc/in_process_command_buffer.cc
|
| @@ -332,8 +332,8 @@ bool InProcessCommandBuffer::InitializeOnGpuThread(
|
| } else {
|
| surface_ = ImageTransportSurface::CreateNativeSurface(
|
| gpu_thread_weak_ptr_factory_.GetWeakPtr(), params.window,
|
| - gl::GLSurface::SURFACE_DEFAULT);
|
| - if (!surface_ || !surface_->Initialize(gl::GLSurface::SURFACE_DEFAULT)) {
|
| + gl::GLSurfaceFormat());
|
| + if (!surface_ || !surface_->Initialize(gl::GLSurfaceFormat())) {
|
| surface_ = nullptr;
|
| DLOG(ERROR) << "Failed to create surface.";
|
| return false;
|
|
|