Index: cc/trees/layer_tree_host_impl.cc |
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc |
index 9f1efdcdadbd9853f533b60d065aee811459e38f..3417528dbb9fe3ad43799787a5441b687ddd4fdc 100644 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -477,8 +477,8 @@ void LayerTreeHostImpl::StartPageScaleAnimation( |
} |
void LayerTreeHostImpl::SetNeedsAnimateInput() { |
- DCHECK_IMPLIES(IsCurrentlyScrollingInnerViewport(), |
- !settings_.ignore_root_layer_flings); |
+ DCHECK(!IsCurrentlyScrollingInnerViewport() || |
+ !settings_.ignore_root_layer_flings); |
SetNeedsAnimate(); |
} |
@@ -1019,7 +1019,7 @@ DrawResult LayerTreeHostImpl::CalculateRenderPasses( |
// destroyed. |
// TODO(weiliangc): Test copy request w/ output surface recreation. Would |
// trigger this DCHECK. |
- DCHECK_IMPLIES(have_copy_request, draw_result == DRAW_SUCCESS); |
+ DCHECK(!have_copy_request || draw_result == DRAW_SUCCESS); |
return draw_result; |
} |