Index: content/renderer/gpu/mailbox_output_surface.cc |
diff --git a/content/renderer/gpu/mailbox_output_surface.cc b/content/renderer/gpu/mailbox_output_surface.cc |
index 4a598d4c60647d3e24225d10c56895c28fd86912..82697e0253c84ba416c3438889071f13b00c71e9 100644 |
--- a/content/renderer/gpu/mailbox_output_surface.cc |
+++ b/content/renderer/gpu/mailbox_output_surface.cc |
@@ -198,9 +198,9 @@ void MailboxOutputSurface::SwapBuffers(cc::CompositorFrame* frame) { |
DCHECK(!surface_size_.IsEmpty()); |
DCHECK(surface_size_ == current_backing_.size); |
DCHECK(frame->gl_frame_data->size == current_backing_.size); |
- DCHECK_IMPLIES(current_backing_.mailbox.IsZero(), |
- context_provider_->ContextGL()->GetGraphicsResetStatusKHR() != |
- GL_NO_ERROR); |
+ DCHECK(!current_backing_.mailbox.IsZero() || |
+ (context_provider_->ContextGL()->GetGraphicsResetStatusKHR() != |
+ GL_NO_ERROR)); |
frame->gl_frame_data->mailbox = current_backing_.mailbox; |
context_provider_->ContextGL()->Flush(); |