Index: gm/convexpolyclip.cpp |
diff --git a/gm/convexpolyclip.cpp b/gm/convexpolyclip.cpp |
index fbfd1670d54b4822e3f3ba60889a91e7446aedd7..e6f967c35ec30cdfceff5840553c7a64975ad2ca 100644 |
--- a/gm/convexpolyclip.cpp |
+++ b/gm/convexpolyclip.cpp |
@@ -158,7 +158,7 @@ protected: |
SkScalar startX = 0; |
int testLayers = kBench_Mode != this->getMode(); |
for (int doLayer = 0; doLayer <= testLayers; ++doLayer) { |
- for (SkTLList<Clip>::Iter iter(fClips, SkTLList<Clip>::Iter::kHead_IterStart); |
+ for (ClipList::Iter iter(fClips, ClipList::Iter::kHead_IterStart); |
iter.get(); |
iter.next()) { |
const Clip* clip = iter.get(); |
@@ -291,7 +291,8 @@ private: |
SkRect fRect; |
}; |
- SkTLList<Clip> fClips; |
+ typedef SkTLList<Clip, 1> ClipList; |
+ ClipList fClips; |
SkBitmap fBmp; |
typedef GM INHERITED; |