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 fe6bd6aeb41c9fdf3e4995903f5c9a25029bab6d..a536f9928d71dad9ee05ead3913d460d1c0a359b 100644 |
--- a/content/renderer/gpu/mailbox_output_surface.cc |
+++ b/content/renderer/gpu/mailbox_output_surface.cc |
@@ -200,9 +200,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(); |