Index: gpu/command_buffer/service/gl_context_virtual.cc |
diff --git a/gpu/command_buffer/service/gl_context_virtual.cc b/gpu/command_buffer/service/gl_context_virtual.cc |
index e7a4c043bf7021fdacb0f8fb1a142173eb96f276..a29e540981b70830ad1d72048a0d49f573cb8f10 100644 |
--- a/gpu/command_buffer/service/gl_context_virtual.cc |
+++ b/gpu/command_buffer/service/gl_context_virtual.cc |
@@ -71,8 +71,7 @@ void GLContextVirtual::ReleaseCurrent(gfx::GLSurface* surface) { |
bool GLContextVirtual::IsCurrent(gfx::GLSurface* surface) { |
// If it's a real surface it needs to be current. |
if (surface && |
no sievers
2013/09/09 17:04:12
nit: I think this fits in one line now
|
- !surface->IsOffscreen() && |
- !surface->GetBackingFrameBufferObject()) |
+ !surface->IsOffscreen()) |
return shared_context_->IsCurrent(surface); |
// Otherwise, only insure the context itself is current. |