Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Unified Diff: src/core/SkTileGrid.h

Issue 114563003: Get rid of DEFINE_TESTCLASS() macro. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: tileCount() Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/core/SkTileGrid.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkTileGrid.h
diff --git a/src/core/SkTileGrid.h b/src/core/SkTileGrid.h
index 77d972850fe7bb70fb14ca657bb92c3842e72968..bf3f6cfe02fe52428e9fa324b785d15de0b9fa93 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;
};
« no previous file with comments | « no previous file | src/core/SkTileGrid.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698