Index: experimental/SkiaExamples/SkExample.cpp |
=================================================================== |
--- experimental/SkiaExamples/SkExample.cpp (revision 10994) |
+++ experimental/SkiaExamples/SkExample.cpp (working copy) |
@@ -115,7 +115,7 @@ |
SkCanvas* SkExampleWindow::createCanvas() { |
if (fType == kGPU_DeviceType) { |
if (NULL != fContext && NULL != fRenderTarget) { |
- SkAutoTUnref<SkDevice> device(new SkGpuDevice(fContext, fRenderTarget)); |
+ SkAutoTUnref<SkBaseDevice> device(new SkGpuDevice(fContext, fRenderTarget)); |
return new SkCanvas(device); |
} |
tearDownBackend(); |