Index: cc/CCOcclusionTrackerTest.cpp |
diff --git a/cc/CCOcclusionTrackerTest.cpp b/cc/CCOcclusionTrackerTest.cpp |
index da3a08ad723f66ca31ef5bfda83bf93367491fa1..8cad6e65af7a20ed6c91705662c82f71422d3715 100644 |
--- a/cc/CCOcclusionTrackerTest.cpp |
+++ b/cc/CCOcclusionTrackerTest.cpp |
@@ -176,7 +176,7 @@ protected: |
typename Types::ContentLayerType* layerPtr = layer.get(); |
setProperties(layerPtr, transform, position, bounds); |
- ASSERT(!m_root); |
+ DCHECK(!m_root); |
m_root = layer.release(); |
return layerPtr; |
} |
@@ -248,11 +248,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); |
@@ -261,10 +261,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); |