Index: src/core/SkTileGrid.cpp |
diff --git a/src/core/SkTileGrid.cpp b/src/core/SkTileGrid.cpp |
index 317d74a2d76297bda4d43649c2c458bb6b7dba90..ea51797f53afc46c7e67eb9fd80871ab851468ba 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. |
@@ -146,9 +145,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(); |
- } |
-} |
- |