Index: content/common/gpu/texture_image_transport_surface.cc |
diff --git a/content/common/gpu/texture_image_transport_surface.cc b/content/common/gpu/texture_image_transport_surface.cc |
index e22082eef57cc84284d2906763f13fffaf13e2f2..c0f1071176c7937f38d7767db2948818e4e4748d 100644 |
--- a/content/common/gpu/texture_image_transport_surface.cc |
+++ b/content/common/gpu/texture_image_transport_surface.cc |
@@ -114,10 +114,7 @@ bool TextureImageTransportSurface::OnMakeCurrent(gfx::GLContext* context) { |
return true; |
} |
- if (!context_.get()) { |
- DCHECK(helper_->stub()); |
- context_ = helper_->stub()->decoder()->GetGLContext(); |
- } |
+ context_ = context; |
if (!fbo_id_) { |
glGenFramebuffersEXT(1, &fbo_id_); |