| Index: cc/CCLayerTilingData.cpp
|
| diff --git a/cc/CCLayerTilingData.cpp b/cc/CCLayerTilingData.cpp
|
| index 12c7aefc9bc5f88ef71f7139dfed076752977d0e..a5c6426becffb28599c61bab5ba7012793e66096 100644
|
| --- a/cc/CCLayerTilingData.cpp
|
| +++ b/cc/CCLayerTilingData.cpp
|
| @@ -9,6 +9,8 @@
|
|
|
| #include "CCLayerTilingData.h"
|
|
|
| +#include "base/logging.h"
|
| +
|
| using namespace std;
|
|
|
| namespace cc {
|
| @@ -62,7 +64,7 @@ const CCLayerTilingData& CCLayerTilingData::operator=(const CCLayerTilingData& t
|
|
|
| void CCLayerTilingData::addTile(PassOwnPtr<Tile> tile, int i, int j)
|
| {
|
| - ASSERT(!tileAt(i, j));
|
| + DCHECK(!tileAt(i, j));
|
| tile->moveTo(i, j);
|
| m_tiles.add(make_pair(i, j), tile);
|
| }
|
| @@ -87,7 +89,7 @@ void CCLayerTilingData::contentRectToTileIndices(const IntRect& contentRect, int
|
| // An empty rect doesn't result in an empty set of tiles, so don't pass an empty rect.
|
| // FIXME: Possibly we should fill a vector of tiles instead,
|
| // since the normal use of this function is to enumerate some tiles.
|
| - ASSERT(!contentRect.isEmpty());
|
| + DCHECK(!contentRect.isEmpty());
|
|
|
| left = m_tilingData.tileXIndexFromSrcCoord(contentRect.x());
|
| top = m_tilingData.tileYIndexFromSrcCoord(contentRect.y());
|
|
|