Index: cc/layer_tree_host_common_unittest.cc |
diff --git a/cc/layer_tree_host_common_unittest.cc b/cc/layer_tree_host_common_unittest.cc |
index 7db514f51a76437f0c0e4ab1637c05878829cda2..cc7ae1c022fdef65d7e1a696082670cb5e6409c2 100644 |
--- a/cc/layer_tree_host_common_unittest.cc |
+++ b/cc/layer_tree_host_common_unittest.cc |
@@ -58,7 +58,7 @@ void executeCalculateDrawTransformsAndVisibility(LayerChromium* rootLayer, float |
IntSize deviceViewportSize = IntSize(rootLayer->bounds().width() * deviceScaleFactor, rootLayer->bounds().height() * deviceScaleFactor); |
// We are probably not testing what is intended if the rootLayer bounds are empty. |
- ASSERT(!rootLayer->bounds().isEmpty()); |
+ DCHECK(!rootLayer->bounds().isEmpty()); |
CCLayerTreeHostCommon::calculateDrawTransforms(rootLayer, deviceViewportSize, deviceScaleFactor, dummyMaxTextureSize, dummyRenderSurfaceLayerList); |
} |
@@ -72,7 +72,7 @@ void executeCalculateDrawTransformsAndVisibility(CCLayerImpl* rootLayer, float d |
IntSize deviceViewportSize = IntSize(rootLayer->bounds().width() * deviceScaleFactor, rootLayer->bounds().height() * deviceScaleFactor); |
// We are probably not testing what is intended if the rootLayer bounds are empty. |
- ASSERT(!rootLayer->bounds().isEmpty()); |
+ DCHECK(!rootLayer->bounds().isEmpty()); |
CCLayerTreeHostCommon::calculateDrawTransforms(rootLayer, deviceViewportSize, deviceScaleFactor, 0, dummyMaxTextureSize, dummyRenderSurfaceLayerList); |
} |