aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/iOSSampleApp/SkSampleUIView.mm
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/iOSSampleApp/SkSampleUIView.mm')
-rw-r--r--experimental/iOSSampleApp/SkSampleUIView.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/experimental/iOSSampleApp/SkSampleUIView.mm b/experimental/iOSSampleApp/SkSampleUIView.mm
index 9fc95bd152..421dfcf275 100644
--- a/experimental/iOSSampleApp/SkSampleUIView.mm
+++ b/experimental/iOSSampleApp/SkSampleUIView.mm
@@ -136,8 +136,8 @@ public:
case SampleWindow::kGPU_DeviceType:
case SampleWindow::kNullGPU_DeviceType:
if (fCurContext) {
- SkAutoTUnref<SkDevice> device(new SkGpuDevice(fCurContext,
- fCurRenderTarget));
+ SkAutoTUnref<SkBaseDevice> device(new SkGpuDevice(fCurContext,
+ fCurRenderTarget));
return new SkCanvas(device);
} else {
return NULL;