| 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 c598dcdebbb488584325b973d5f5c06a00357fbc..235817de449eceb01df10477a7aeb2e17bc726a6 100644
|
| --- a/cc/trees/layer_tree_host_impl.cc
|
| +++ b/cc/trees/layer_tree_host_impl.cc
|
| @@ -477,8 +477,8 @@
|
| }
|
|
|
| void LayerTreeHostImpl::SetNeedsAnimateInput() {
|
| - DCHECK(!IsCurrentlyScrollingInnerViewport() ||
|
| - !settings_.ignore_root_layer_flings);
|
| + DCHECK_IMPLIES(IsCurrentlyScrollingInnerViewport(),
|
| + !settings_.ignore_root_layer_flings);
|
| SetNeedsAnimate();
|
| }
|
|
|
| @@ -1019,7 +1019,7 @@
|
| // destroyed.
|
| // TODO(weiliangc): Test copy request w/ output surface recreation. Would
|
| // trigger this DCHECK.
|
| - DCHECK(!have_copy_request || draw_result == DRAW_SUCCESS);
|
| + DCHECK_IMPLIES(have_copy_request, draw_result == DRAW_SUCCESS);
|
|
|
| return draw_result;
|
| }
|
|
|