| Index: cc/occlusion_tracker_unittest.cc
|
| diff --git a/cc/occlusion_tracker_unittest.cc b/cc/occlusion_tracker_unittest.cc
|
| index 7bd1b771687ba319ed7f5198ed66248855cfa266..548b9e3f39ecd63f854beae3739bfee8e812483c 100644
|
| --- a/cc/occlusion_tracker_unittest.cc
|
| +++ b/cc/occlusion_tracker_unittest.cc
|
| @@ -192,7 +192,7 @@ protected:
|
| typename Types::ContentLayerType* layerPtr = layer.get();
|
| setProperties(layerPtr, transform, position, bounds);
|
|
|
| - ASSERT(!m_root);
|
| + DCHECK(!m_root);
|
| m_root = Types::passLayerPtr(layer);
|
| return layerPtr;
|
| }
|
| @@ -264,11 +264,11 @@ protected:
|
|
|
| void calcDrawEtc(TestContentLayerImpl* root)
|
| {
|
| - ASSERT(root == m_root.get());
|
| + DCHECK(root == m_root.get());
|
| int dummyMaxTextureSize = 512;
|
| CCLayerSorter layerSorter;
|
|
|
| - ASSERT(!root->renderSurface());
|
| + DCHECK(!root->renderSurface());
|
|
|
| CCLayerTreeHostCommon::calculateDrawTransforms(root, root->bounds(), 1, &layerSorter, dummyMaxTextureSize, m_renderSurfaceLayerListImpl);
|
|
|
| @@ -277,10 +277,10 @@ protected:
|
|
|
| void calcDrawEtc(TestContentLayerChromium* root)
|
| {
|
| - ASSERT(root == m_root.get());
|
| + DCHECK(root == m_root.get());
|
| int dummyMaxTextureSize = 512;
|
|
|
| - ASSERT(!root->renderSurface());
|
| + DCHECK(!root->renderSurface());
|
|
|
| CCLayerTreeHostCommon::calculateDrawTransforms(root, root->bounds(), 1, dummyMaxTextureSize, m_renderSurfaceLayerListChromium);
|
|
|
|
|