Index: webkit/common/gpu/test_context_provider_factory.cc |
diff --git a/webkit/common/gpu/test_context_provider_factory.cc b/webkit/common/gpu/test_context_provider_factory.cc |
index 88464c00074c701e52921a8970aad2323cb8add9..7e4f04f949eb0dff78f63e74b2d5af318fe81ffb 100644 |
--- a/webkit/common/gpu/test_context_provider_factory.cc |
+++ b/webkit/common/gpu/test_context_provider_factory.cc |
@@ -27,7 +27,7 @@ TestContextProviderFactory::~TestContextProviderFactory() {} |
scoped_refptr<cc::ContextProvider> TestContextProviderFactory:: |
OffscreenContextProviderForMainThread() { |
if (!main_thread_.get() || main_thread_->DestroyedOnMainThread()) { |
- main_thread_ = ContextProviderInProcess::Create(); |
+ main_thread_ = ContextProviderInProcess::CreateOffscreen(); |
if (main_thread_.get() && !main_thread_->BindToCurrentThread()) |
main_thread_ = NULL; |
} |