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..3424189d41d7ebe270b3ae10867ff1ef2af986e1 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(); |