Index: ui/compositor/compositor.cc |
diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc |
index 5cf174e0f47514447cfecf4563f4fcc486da5359..88cfc5637176e296d770d92653b7cc50c21c197c 100644 |
--- a/ui/compositor/compositor.cc |
+++ b/ui/compositor/compositor.cc |
@@ -137,7 +137,7 @@ DefaultContextFactory::OffscreenContextProviderForMainThread() { |
if (!offscreen_contexts_main_thread_.get() || |
!offscreen_contexts_main_thread_->DestroyedOnMainThread()) { |
offscreen_contexts_main_thread_ = |
- webkit::gpu::ContextProviderInProcess::Create(); |
+ webkit::gpu::ContextProviderInProcess::CreateOffscreen(); |
if (offscreen_contexts_main_thread_.get() && |
!offscreen_contexts_main_thread_->BindToCurrentThread()) |
offscreen_contexts_main_thread_ = NULL; |
@@ -150,7 +150,7 @@ DefaultContextFactory::OffscreenContextProviderForCompositorThread() { |
if (!offscreen_contexts_compositor_thread_.get() || |
!offscreen_contexts_compositor_thread_->DestroyedOnMainThread()) { |
offscreen_contexts_compositor_thread_ = |
- webkit::gpu::ContextProviderInProcess::Create(); |
+ webkit::gpu::ContextProviderInProcess::CreateOffscreen(); |
} |
return offscreen_contexts_compositor_thread_; |
} |