Index: gpu/command_buffer/client/gles2_demo.cc |
=================================================================== |
--- gpu/command_buffer/client/gles2_demo.cc (revision 92876) |
+++ gpu/command_buffer/client/gles2_demo.cc (working copy) |
@@ -56,9 +56,9 @@ |
if (!command_buffer->Initialize(size)) |
return NULL; |
- GpuScheduler* gpu_scheduler = new GpuScheduler(command_buffer.get(), |
- NULL, |
- NULL); |
+ GpuScheduler* gpu_scheduler = GpuScheduler::Create(command_buffer.get(), |
+ NULL, |
+ NULL); |
if (!gpu_scheduler->Initialize(reinterpret_cast<HWND>(hwnd), |
gfx::Size(), |
gpu::gles2::DisallowedExtensions(), |