Chromium Code Reviews| Index: gpu/demos/framework/window.cc |
| =================================================================== |
| --- gpu/demos/framework/window.cc (revision 92876) |
| +++ gpu/demos/framework/window.cc (working copy) |
| @@ -60,7 +60,9 @@ |
| } |
| GpuScheduler* gpu_scheduler( |
| - new GpuScheduler(command_buffer.get(), NULL, NULL)); |
| + GpuScheduler::Create(command_buffer.get(), |
| + NULL, |
| + NULL)); |
| if (!gpu_scheduler->Initialize(hwnd, gfx::Size(), |
| gpu::gles2::DisallowedExtensions(), |
| NULL, std::vector<int32>(), |