Index: content/browser/renderer_host/image_transport_factory.cc |
diff --git a/content/browser/renderer_host/image_transport_factory.cc b/content/browser/renderer_host/image_transport_factory.cc |
index 8068df8e7390cf4f339e881a996df80a8034bbb0..302932436861293e7a1bd97092f306ead04a1dd5 100644 |
--- a/content/browser/renderer_host/image_transport_factory.cc |
+++ b/content/browser/renderer_host/image_transport_factory.cc |
@@ -466,13 +466,7 @@ class GpuProcessTransportFactory |
CreateSharedContextLazy(); |
WebKit::WebGraphicsContext3D* context_for_main_thread = |
shared_contexts_main_thread_->Context3d(); |
- WebKit::WebGraphicsContext3D* context_for_thread = |
- CreateOffscreenContext(); |
- if (!context_for_thread) |
- return NULL; |
- |
- gl_helper_.reset(new GLHelper(context_for_main_thread, |
- context_for_thread)); |
+ gl_helper_.reset(new GLHelper(context_for_main_thread)); |
} |
return gl_helper_.get(); |
} |