Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1351)

Unified Diff: cc/output/direct_renderer.cc

Issue 1421483005: Reland: Remove DCHECK_IMPLIES/CHECK_IMPLIES. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/layers/video_layer_impl.cc ('k') | cc/output/gl_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/direct_renderer.cc
diff --git a/cc/output/direct_renderer.cc b/cc/output/direct_renderer.cc
index 4212994e9046d0becd6d0fd98ec7dfab81070603..7a27efde71a0c20d9d73e413b28a5f2059ef31e3 100644
--- a/cc/output/direct_renderer.cc
+++ b/cc/output/direct_renderer.cc
@@ -437,8 +437,8 @@ void DirectRenderer::DrawRenderPass(DrawingFrame* frame,
// If |has_external_stencil_test| we can't discard or clear. Make sure we
// don't need to.
- DCHECK_IMPLIES(has_external_stencil_test,
- !frame->current_render_pass->has_transparent_background);
+ DCHECK(!has_external_stencil_test ||
+ !frame->current_render_pass->has_transparent_background);
SurfaceInitializationMode mode;
if (should_clear_surface && render_pass_is_clipped) {
« no previous file with comments | « cc/layers/video_layer_impl.cc ('k') | cc/output/gl_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698