aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/iOSSampleApp
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-08-20 17:49:04 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-08-20 17:49:04 +0000
commit3055b700189afdd02486ed8f2279cea1d8897243 (patch)
treea66e6ce6e9717464dd67eb206f76440da9bab059 /experimental/iOSSampleApp
parent4eaa6647e70c9404d1c920f674d706ca2d2a76b9 (diff)
Split SkDevice out of SkBitmapDevice
Diffstat (limited to 'experimental/iOSSampleApp')
-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;