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

Unified Diff: cc/tiled_layer_impl.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/tiled_layer.cc ('k') | cc/tiled_layer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiled_layer_impl.cc
diff --git a/cc/tiled_layer_impl.cc b/cc/tiled_layer_impl.cc
index 84af8bc23b8e291eb59ecb880eadaf42aeda5c07..7cd33d273e48ab15643264120c2277bb3f38ea53 100644
--- a/cc/tiled_layer_impl.cc
+++ b/cc/tiled_layer_impl.cc
@@ -73,9 +73,9 @@ CCTiledLayerImpl::~CCTiledLayerImpl()
CCResourceProvider::ResourceId CCTiledLayerImpl::contentsResourceId() const
{
// This function is only valid for single texture layers, e.g. masks.
- ASSERT(m_tiler);
- ASSERT(m_tiler->numTilesX() == 1);
- ASSERT(m_tiler->numTilesY() == 1);
+ DCHECK(m_tiler);
+ DCHECK(m_tiler->numTilesX() == 1);
+ DCHECK(m_tiler->numTilesY() == 1);
DrawableTile* tile = tileAt(0, 0);
CCResourceProvider::ResourceId resourceId = tile ? tile->resourceId() : 0;
« no previous file with comments | « cc/tiled_layer.cc ('k') | cc/tiled_layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698