Index: cc/trees/layer_tree_host_common.cc |
diff --git a/cc/trees/layer_tree_host_common.cc b/cc/trees/layer_tree_host_common.cc |
index 5af5fc1a2a361ef7036fdb93883dfb4fc77c59a9..e02cf8b248e7de1e596688b7801dbf5a26b189d4 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); |