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

Unified Diff: cc/occlusion_tracker_unittest.cc

Issue 11192030: cc: Switch to Chromium DCHECKs LOGs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebaseonenne 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
« no previous file with comments | « cc/occlusion_tracker.cc ('k') | cc/platform_color.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/occlusion_tracker_unittest.cc
diff --git a/cc/occlusion_tracker_unittest.cc b/cc/occlusion_tracker_unittest.cc
index 76306b8a2520043a5dd3d2d2d764c3c93eb7daf0..355c9ea2b307c0c77c6d0ac6b3d55af85acd3714 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);
« no previous file with comments | « cc/occlusion_tracker.cc ('k') | cc/platform_color.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698