Index: src/effects/SkTestImageFilters.cpp |
=================================================================== |
--- src/effects/SkTestImageFilters.cpp (revision 10994) |
+++ src/effects/SkTestImageFilters.cpp (working copy) |
@@ -9,11 +9,11 @@ |
// with the following: |
// |
// SkCanvas canvas(device); |
-// SkAutoTUnref<SkDevice> aur(device); |
+// SkAutoTUnref<SkBaseDevice> aur(device); |
// |
class OwnDeviceCanvas : public SkCanvas { |
public: |
- OwnDeviceCanvas(SkDevice* device) : SkCanvas(device) { |
+ OwnDeviceCanvas(SkBaseDevice* device) : SkCanvas(device) { |
SkSafeUnref(device); |
} |
}; |
@@ -41,7 +41,7 @@ |
// downsample |
{ |
- SkDevice* dev = proxy->createDevice(dstW, dstH); |
+ SkBaseDevice* dev = proxy->createDevice(dstW, dstH); |
if (NULL == dev) { |
return false; |
} |
@@ -56,7 +56,7 @@ |
// upscale |
{ |
- SkDevice* dev = proxy->createDevice(src.width(), src.height()); |
+ SkBaseDevice* dev = proxy->createDevice(src.width(), src.height()); |
if (NULL == dev) { |
return false; |
} |