Index: gm/texdata.cpp |
=================================================================== |
--- gm/texdata.cpp (revision 10994) |
+++ gm/texdata.cpp (working copy) |
@@ -38,7 +38,7 @@ |
} |
virtual void onDraw(SkCanvas* canvas) { |
- SkDevice* device = canvas->getTopDevice(); |
+ SkBaseDevice* device = canvas->getTopDevice(); |
GrRenderTarget* target = device->accessRenderTarget(); |
GrContext* ctx = GetGr(); |
if (ctx && target) { |