diff options
author | vmpstr <vmpstr@chromium.org> | 2015-10-26 17:17:34 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-27 00:18:36 +0000 |
commit | cc8936ba36ee29b5859f65c936e16f87eeac82b4 (patch) | |
tree | 10a5e5f7e314b09d90ff307927dfa648209175b8 /cc/trees/layer_tree_host_common.cc | |
parent | 02c0dfad5b9bd4e6040cbe9faf2cc295c0da43a8 (diff) | |
download | chromium_src-cc8936ba36ee29b5859f65c936e16f87eeac82b4.zip chromium_src-cc8936ba36ee29b5859f65c936e16f87eeac82b4.tar.gz chromium_src-cc8936ba36ee29b5859f65c936e16f87eeac82b4.tar.bz2 |
Remove DCHECK_IMPLIES/CHECK_IMPLIES.
This patch removes both DCHECK_IMPLIES and CHECK_IMPLIES macros.
R=thakis, sky, jam
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1421483005
Cr-Commit-Position: refs/heads/master@{#356193}
Diffstat (limited to 'cc/trees/layer_tree_host_common.cc')
-rw-r--r-- | cc/trees/layer_tree_host_common.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/trees/layer_tree_host_common.cc b/cc/trees/layer_tree_host_common.cc index 5af5fc1..e02cf8b 100644 --- a/cc/trees/layer_tree_host_common.cc +++ b/cc/trees/layer_tree_host_common.cc @@ -415,8 +415,8 @@ void UpdateAccumulatedSurfaceState( current_target->render_surface()->draw_transform(); // If we have unclipped descendants, the draw transform is a translation. - DCHECK_IMPLIES(current_target->num_unclipped_descendants(), - current_draw_transform.IsIdentityOrTranslation()); + DCHECK(!current_target->num_unclipped_descendants() || + current_draw_transform.IsIdentityOrTranslation()); target_rect = MathUtil::MapEnclosingClippedRect(current_draw_transform, target_rect); |