Index: webkit/gpu/context_provider_in_process.cc |
diff --git a/webkit/gpu/context_provider_in_process.cc b/webkit/gpu/context_provider_in_process.cc |
index b7a98be2346c84b8eb4a7ee9f51f20f83ce8e209..8fa3fa216500bebb103ac583732e20932cb5aaf5 100644 |
--- a/webkit/gpu/context_provider_in_process.cc |
+++ b/webkit/gpu/context_provider_in_process.cc |
@@ -60,9 +60,8 @@ bool ContextProviderInProcess::InitializeOnMainThread() { |
attributes.noAutomaticFlushes = true; |
context3d_.reset( |
- new webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl()); |
- if (!context3d_->Initialize(attributes, NULL)) |
- context3d_.reset(); |
+ new webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl( |
+ attributes)); |
return context3d_; |
} |