summaryrefslogtreecommitdiffstats
path: root/gpu/demos
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/demos')
-rw-r--r--gpu/demos/framework/window.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/gpu/demos/framework/window.cc b/gpu/demos/framework/window.cc
index 2c1c7e5..30ba86c 100644
--- a/gpu/demos/framework/window.cc
+++ b/gpu/demos/framework/window.cc
@@ -60,9 +60,7 @@ bool Window::CreateRenderContext(gfx::PluginWindowHandle hwnd) {
}
GpuScheduler* gpu_scheduler(
- GpuScheduler::Create(command_buffer.get(),
- NULL,
- NULL));
+ new GpuScheduler(command_buffer.get(), NULL, NULL));
if (!gpu_scheduler->Initialize(hwnd, gfx::Size(),
gpu::gles2::DisallowedExtensions(),
NULL, std::vector<int32>(),