Index: gm/tileimagefilter.cpp |
diff --git a/gm/tileimagefilter.cpp b/gm/tileimagefilter.cpp |
index b03af4420700ac6325f798f032f106f15b80e53c..cf8825e5bb9d105600954edb96334ab1bfb7ae84 100644 |
--- a/gm/tileimagefilter.cpp |
+++ b/gm/tileimagefilter.cpp |
@@ -56,7 +56,7 @@ protected: |
int x = 0, y = 0; |
for (size_t i = 0; i < 4; i++) { |
- const SkImage* image = (i & 0x01) ? fCheckerboard.get() : fBitmap.get(); |
+ SkImage* image = (i & 0x01) ? fCheckerboard.get() : fBitmap.get(); |
SkRect srcRect = SkRect::MakeXYWH(SkIntToScalar(image->width()/4), |
SkIntToScalar(image->height()/4), |
SkIntToScalar(image->width()/(i+1)), |