aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkTileGrid.h
diff options
context:
space:
mode:
authorGravatar tfarina@chromium.org <tfarina@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-12-18 22:15:12 +0000
committerGravatar tfarina@chromium.org <tfarina@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-12-18 22:15:12 +0000
commit9f9d5829c29d8934fa0d4d348173d5ae39bed4e9 (patch)
treea34d74436021ff66f40cb21454f1a815864e9493 /src/core/SkTileGrid.h
parent9cfa287bc7f933b868311e9c20526b9798459d13 (diff)
Get rid of DEFINE_TESTCLASS() macro.
Remaining tests were rewrite to use DEF_TEST() macro instead. This fixes the FIXME in TestClassDef.h BUG=None TEST=tests R=mtklein@google.com Review URL: https://codereview.chromium.org/114563003 git-svn-id: http://skia.googlecode.com/svn/trunk@12760 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkTileGrid.h')
-rw-r--r--src/core/SkTileGrid.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/SkTileGrid.h b/src/core/SkTileGrid.h
index 77d972850f..bf3f6cfe02 100644
--- a/src/core/SkTileGrid.h
+++ b/src/core/SkTileGrid.h
@@ -69,6 +69,9 @@ public:
enum {
kTileFinished = -1,
};
+
+ int tileCount(int x, int y); // For testing only.
+
private:
SkTDArray<void*>& tile(int x, int y);
@@ -79,7 +82,6 @@ private:
SkIRect fGridBounds;
SkTileGridNextDatumFunctionPtr fNextDatumFunction;
- friend class TileGridTest;
typedef SkBBoxHierarchy INHERITED;
};