Index: cc/occlusion_tracker_unittest.cc |
diff --git a/cc/occlusion_tracker_unittest.cc b/cc/occlusion_tracker_unittest.cc |
index d3385a3aa35ac9e1b36e4411016a65cc1cb392bd..cd87b32f742a2a3ad4a34fe9eac7a2a8a963449a 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); |