| Index: gpu/command_buffer/service/gpu_scheduler_win.cc
|
| ===================================================================
|
| --- gpu/command_buffer/service/gpu_scheduler_win.cc (revision 86168)
|
| +++ gpu/command_buffer/service/gpu_scheduler_win.cc (working copy)
|
| @@ -47,14 +47,15 @@
|
|
|
| // Create a GLContext and attach the surface.
|
| scoped_ptr<gfx::GLContext> context(
|
| - gfx::GLContext::CreateGLContext(surface.release(), parent_context));
|
| + gfx::GLContext::CreateGLContext(parent_context, surface.get()));
|
| if (!context.get()) {
|
| LOG(ERROR) << "CreateGLContext failed.\n";
|
| Destroy();
|
| return false;
|
| }
|
|
|
| - return InitializeCommon(context.release(),
|
| + return InitializeCommon(surface.release(),
|
| + context.release(),
|
| size,
|
| disallowed_extensions,
|
| allowed_extensions,
|
|
|