Index: tests/TileGridTest.cpp |
diff --git a/tests/TileGridTest.cpp b/tests/TileGridTest.cpp |
index 346687122092f1083259df8cc7208c1b977c2daa..8f5b18a6e916450cf39e72b5e76992af7ea38143 100644 |
--- a/tests/TileGridTest.cpp |
+++ b/tests/TileGridTest.cpp |
@@ -25,14 +25,13 @@ public: |
MockCanvas(SkBaseDevice* device) : SkCanvas(device) |
{} |
- SkTDArray<SkRect> fRects; |
- |
-protected: |
- virtual void onDrawRect(const SkRect& rect, const SkPaint&) |
+ virtual void drawRect(const SkRect& rect, const SkPaint&) |
{ |
// This capture occurs before quick reject. |
fRects.push(rect); |
} |
+ |
+ SkTDArray<SkRect> fRects; |
}; |
class TileGridTest { |