Index: src/effects/SkRectShaderImageFilter.cpp |
=================================================================== |
--- src/effects/SkRectShaderImageFilter.cpp (revision 10994) |
+++ src/effects/SkRectShaderImageFilter.cpp (working copy) |
@@ -56,8 +56,8 @@ |
return false; |
} |
- SkAutoTUnref<SkDevice> device(proxy->createDevice(SkScalarCeilToInt(rect.width()), |
- SkScalarCeilToInt(rect.height()))); |
+ SkAutoTUnref<SkBaseDevice> device(proxy->createDevice(SkScalarCeilToInt(rect.width()), |
+ SkScalarCeilToInt(rect.height()))); |
SkCanvas canvas(device.get()); |
SkPaint paint; |
paint.setShader(fShader); |