Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2349)

Unified Diff: cc/CCOcclusionTrackerTest.cpp

Issue 11048044: cc: Switch to Chromium DCHECKs and LOGs (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698