summaryrefslogtreecommitdiffstats
path: root/cc/trees/layer_tree_host_common.cc
diff options
context:
space:
mode:
authorvmpstr <vmpstr@chromium.org>2015-10-28 15:42:23 -0700
committerCommit bot <commit-bot@chromium.org>2015-10-28 22:43:06 +0000
commitacfa922fcb47dce98ee648a589db0d9cc6171256 (patch)
tree389f00a5afec8d3f869959ba613a2e50ed183725 /cc/trees/layer_tree_host_common.cc
parent052b5f8112cf52524b92e92c504206eee9723bf9 (diff)
downloadchromium_src-acfa922fcb47dce98ee648a589db0d9cc6171256.zip
chromium_src-acfa922fcb47dce98ee648a589db0d9cc6171256.tar.gz
chromium_src-acfa922fcb47dce98ee648a589db0d9cc6171256.tar.bz2
Reland: 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@{#356674}
Diffstat (limited to 'cc/trees/layer_tree_host_common.cc')
-rw-r--r--cc/trees/layer_tree_host_common.cc4
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);