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 da24dc018d7b38af12d75dfc13f0687818b9773c..911deb90943630248154e8c3f65476e00d62fce4 100644 |
--- a/cc/trees/layer_tree_host_common.cc |
+++ b/cc/trees/layer_tree_host_common.cc |
@@ -302,8 +302,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 = gfx::ToEnclosingRect( |
MathUtil::MapClippedRect(current_draw_transform, target_rect)); |