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 7fa269006a27910f6ddd9b682bda35872a1e7f0d..b24d8834ce70d5f91458a0b9d47b355614e57ff1 100644 |
--- a/content/common/gpu/texture_image_transport_surface.cc |
+++ b/content/common/gpu/texture_image_transport_surface.cc |
@@ -134,16 +134,6 @@ bool TextureImageTransportSurface::OnMakeCurrent(gfx::GLContext* context) { |
if (!backbuffer_.service_id && !is_swap_buffers_pending_ && |
backbuffer_suggested_allocation_) { |
CreateBackTexture(); |
- |
-#ifndef NDEBUG |
- GLenum status = glCheckFramebufferStatusEXT(GL_FRAMEBUFFER); |
- if (status != GL_FRAMEBUFFER_COMPLETE) { |
- DLOG(ERROR) << "Framebuffer incomplete."; |
- glDeleteFramebuffersEXT(1, &fbo_id_); |
- fbo_id_ = 0; |
- return false; |
- } |
-#endif |
} |
return true; |
} |