| Index: src/core/SkTileGrid.cpp
|
| diff --git a/src/core/SkTileGrid.cpp b/src/core/SkTileGrid.cpp
|
| index 8cdebcb0b682e2569b235b2655f718fb2b79f395..e6459a0200bc109e893c8fa9be7500dc2bcc6961 100644
|
| --- a/src/core/SkTileGrid.cpp
|
| +++ b/src/core/SkTileGrid.cpp
|
| @@ -11,7 +11,6 @@ SkTileGrid::SkTileGrid(int xTiles, int yTiles, const SkTileGridFactory::TileGrid
|
| : fXTiles(xTiles)
|
| , fYTiles(yTiles)
|
| , fInfo(info)
|
| - , fCount(0)
|
| , fTiles(SkNEW_ARRAY(SkTDArray<unsigned>, xTiles * yTiles)) {
|
| // Margin is offset by 1 as a provision for AA and
|
| // to cancel-out the outset applied by getClipDeviceBounds.
|
| @@ -148,9 +147,3 @@ void SkTileGrid::search(const SkRect& query, SkTDArray<unsigned>* results) const
|
| }
|
| }
|
|
|
| -void SkTileGrid::clear() {
|
| - for (int i = 0; i < fXTiles * fYTiles; i++) {
|
| - fTiles[i].reset();
|
| - }
|
| -}
|
| -
|
|
|