diff options
Diffstat (limited to 'cc/tiled_layer_impl.cc')
-rw-r--r-- | cc/tiled_layer_impl.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cc/tiled_layer_impl.cc b/cc/tiled_layer_impl.cc index 84af8bc..7cd33d2 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; |