Index: cc/occlusion_tracker_unittest.cc |
diff --git a/cc/occlusion_tracker_unittest.cc b/cc/occlusion_tracker_unittest.cc |
index 76306b8a2520043a5dd3d2d2d764c3c93eb7daf0..02db9dc45221d051f17713b580724833a26a0bf3 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); |
+ CC_DCHECK(!m_root); |
m_root = Types::passLayerPtr(layer); |
return layerPtr; |
} |
@@ -264,11 +264,11 @@ protected: |
void calcDrawEtc(TestContentLayerImpl* root) |
{ |
- ASSERT(root == m_root.get()); |
+ CC_DCHECK(root == m_root.get()); |
int dummyMaxTextureSize = 512; |
CCLayerSorter layerSorter; |
- ASSERT(!root->renderSurface()); |
+ CC_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()); |
+ CC_DCHECK(root == m_root.get()); |
int dummyMaxTextureSize = 512; |
- ASSERT(!root->renderSurface()); |
+ CC_DCHECK(!root->renderSurface()); |
CCLayerTreeHostCommon::calculateDrawTransforms(root, root->bounds(), 1, dummyMaxTextureSize, m_renderSurfaceLayerListChromium); |