| Index: cc/CCLayerTreeHostCommonTest.cpp
|
| diff --git a/cc/CCLayerTreeHostCommonTest.cpp b/cc/CCLayerTreeHostCommonTest.cpp
|
| index 2fb4fe823c53587d472e3a68ff33e13db94cdbe9..56f261d369b6e758c6162d184a3a588c49ffc969 100644
|
| --- a/cc/CCLayerTreeHostCommonTest.cpp
|
| +++ b/cc/CCLayerTreeHostCommonTest.cpp
|
| @@ -59,7 +59,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);
|
| }
|
|
|
| @@ -73,7 +73,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);
|
| }
|
|
|
|
|